4.4 CR1000 program example
CRBasic Example 4: CR1000 3-wire half bridge example
'CR1000-series data logger 3-wire half bridge
Public
Rs_R0, Temp_C
DataTable
(Hourly,True,-1)
DataInterval
(0,60,Min,0)
Average
(1,Temp_C,IEEE4,0)
EndTable
BeginProg
Scan
(1,Sec,0,0)
BrHalf3W
(Rs_R0,1,mV2500,1,Vx1,1,2500,True,0,250,100,0)
PRTCalc
(Temp_C,1,Rs_R0,0,1,0)
CallTable
Hourly
NextScan
EndProg
4.5 CR9000X program example
CRBasic Example 5: CR9000X 3-wire half bridge example
'CR9000X data logger 3-wire half bridge
Public
Rs_Ro, Temp_F
DataTable
(Temp_F,1,-1)
DataInterval
(0,60,Min,0)
Sample
(1,Temp_F,FP2)
EndTable
BeginProg
Scan
(1,mSec,0,0)
BrHalf3W
(RS_Ro,1,mV1000,5,1,6,1,1,3200,True,30,40,100,0)
PRTCalc
(Temp_F,1,Rs_Ro,0,1.8,32)
CallTable
Temp_F
NextScan
EndProg
3WHB10K 3-Wire Half Bridge Terminal Input Module
7