Appendix g. crbasic program library, G-27 – Campbell Scientific CDM-VW300 Series Dynamic Vibrating-Wire Analyzer System User Manual
Page 119
Advertising
Appendix G. CRBasic Program Library
CDM_VW300Config
(1,CPI_ADDR,0,Enable(),Max_AMP(),F_Low(),F_High(), _
OutForm(),Mult(),Off(), SteinA(),SteinB(),SteinC(), _
RFMB(),RFAB(),RFLL(),RFHL(),RFHY(),RFOF())
DataTable
(static,true,-1)
'Static Frequency reading (1 Hz output)
Sample
(8,StaticFreq(),IEEE4)
'Thermistor reading : Ohms or DegC
Sample
(8,Therm(),IEEE4)
EndTable
BeginProg
'20 Hz/50msec scan rate - dynamic scan rate is required
Scan
(50,msec,500,0)
CDM_VW300Dynamic
(CPI_ADDR,Freq(),Diag())
'dynamic instruction is required
If TimeIntoInterval
(0,1,Sec)
Then
' Process static data once per second
CDM_VW300Static
(CPI_ADDR,StaticFreq(),Therm(),DynStdDev())
'Get static readings
CallTable
static
EndIf
NextScan
EndProg
G-27
Advertising