Section 7.  Installation 
 
 
 Dwell Burst Measurement 
'This program makes 1735 measurements of two single-ended channels at 
'2000 Hz. Sample pattern is 1,1,1..., pause, 2,2,2..., pause. 
'Measurement cycle is repeated every 2 Sec. The following programming features are 
'key to making this application work: 
 
'--PipelineMode.enabled. 
'--Dash (-) placed before channel number. 
'--Measurement count per channel set with VoltSE() Count=1735. 
'--Measurement speed set with VoltSE() SampleInterval (µs)=500. 
'--Scan() BufferOption increased to 5. 
 
'NOTES: 
'--Sampling occurs at the beginning of the Scan() interval. 
'--All measurements for one channel are placed in a single large variable array. 
'--The large array is stored in a single long record in the data table. 
'--The exact sampling interval is calculated as follows: 
'  SampleTime = 1.085069 * INT((SampleInterval / 1.085069) + 0.5) 
 
'--At scan interval=2 s, CR800 processing is not fast enough to keep up with the  
'  93750 Hz measurements. The result is that the CR800 skips every other scan to 
'  catch up. If no skipped scans is wanted more than maximum speed, make adjustments 
'  to the program. For example, set Scan() Interval=3. 
 
PipeLineMode 
 
Public DwellBurstSE1(1735) 
Public DwellBurstSE2(1735) 
 
DataTable(DwellBurstSEData,1,-1) 
 Sample(1735,DwellBurstSE1(),FP2) 
 Sample(1735,DwellBurstSE2(),FP2) 
EndTable 
 
BeginProg 
 
 'Scan(Interval,Units,BufferOption,Count) 
 Scan(2,Sec,5,0) 
 
 'VoltSE(Dest,Count,Range,-SEChan,MeasOff,SampleInterval (µs),Integ,Mult,Offset) 
 VoltSe(DwellBurstSE1(),1735,mV2_5,-1,False,500,100,1.0,0) 
 VoltSe(DwellBurstSE2(),1735,mV2_5,-2,False,500,100,1.0,0) 
 
 CallTable DwellBurstSEData 
 NextScan 
 
 
200