4.4 CR1000 program example
CRBasic Example 4: CR1000 4-wire half bridge example
'CR1000-series data logger 4-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)
BrHalf4W
(Rs_R0,1,mV250,mV250,1,Vx1,1,2500,True,True,0,250,1.0,0)
PRTCalc
(Temp_C,1,Rs_R0,0,1,0)
CallTable
Hourly
NextScan
EndProg
4.5 CR9000X program example
CRBasic Example 5: CR9000X 4-wire half bridge example
'CR9000X data logger 4-wire half bridge
Public
Rs_Ro, Temp_F
DataTable
(Temp_F,1,-1)
DataInterval
(0,0,0,10)
Sample
(1,Temp_F,FP2)
EndTable
BeginProg
Scan
(1,mSec,0,0)
BrHalf4W
(Rs_Ro,1,mV1000,mV1000,4,1,5,7,1,400,True,True,30,40,1.0,0)
PRTCalc
(Temp_F,1,Rs_Ro,0,1.8,32)
CallTable
Temp_F
NextScan
EndProg
4WPB100, 4WPB1K PRT Bridge Terminal Input Modules
7