var fDesc=new Array(); fDesc[0] = "CAP (Computed Analog Pattern) Tool is a Windows program to create arbitrary waveform generator files. People can upload the files to AWG hardware with the help of a USB flash drive or include the files in automation programs. When it outputs a data file - like .rdf. .h, or .csv - CAP Tool also creates a simple text file (extension .dsc) with a description of the arbitrary pattern. This description includes both scaling parameters and the mathematical expression used to define the waveform. After loading the .dcs into a text editor (like Notepad), you can copy and paste the defining expression into whatever report you need to produce."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }