EasyManua.ls Logo

Campbell CR800 Series - Analog Voltage Measurement: Cluster Burst

Campbell CR800 Series
598 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section 7. Installation
235
Analog Voltage Measurement: Cluster Burst
'This program makes 500 measurements of two single-ended channels at 500 Hz.
'Sample pattern is 1,2,1,2. Measurement cycle is repeated every 1 Sec. The following
'programming features are key to making this application work:
'--PipelingMode enabled.
'--Measurement speed set as follows:
' Scan() Interval=1, Units=Sec.
' SubScan() SubInterval=2, Units=mSec, and Count= 500.
'--Scan() BufferOption increased to 5.
'--At this measurement speed, CR800 processing is not fast enough to keep up with the
' sample rate. The result is a periodic skipped scan, which allows processing
' to catch up. To program for measurements without skipped scans, modify the
' measurement speed. For example.set Scan() Interval=3, Units=Sec, SubScan()
' SubInterval=3, Units=mSec, and Count=666.
PipeLineMode
Public ClusterBurstSE(2)
DataTable(ClusterBurstSEData,1,-1)
Sample(2,ClusterBurstSE(),FP2)
EndTable
BeginProg
'Scan(Interval,Units,BufferOption,Count)
Scan(1,Sec,5,0)
'SubScan(SubInterval,Units,Count)
SubScan(2,mSec,500)
'VoltSE(Dest,Reps,Range,SEChan,MeasOff,SettlingTime,Integ,Mult,Offset)
VoltSe(ClusterBurstSE(),2,mV2_5,1,False,100,100,1.0,0)
CallTable ClusterBurstSEData
NextSubScan
NextScan
EndProg

Table of Contents

Related product manuals