4.1
GRANITE
9/10
program
example
The
GRANITE 9
and
GRANITE 10
require
the
use
of
an
analog
ue
input
module,
such
as
the
VOLT 108,
when
making
a
half-bridge
measurement.
CRBasic Example 1: GRANITE 9/10 4-wire half bridge example
'4-wire half bridge example
'GRANITE 9 and GRANITE 10 data loggers (with a VOLT 108)
'Declare Variables and Units
Public
Temp_C_4wire
Public
Rs_R0
'Define Data Tables
DataTable
(Hourly,True,-1)
DataInterval
(0,60,Min,10)
Average
(1,Temp_C_4wire,IEEE4,False)
EndTable
'Main Program
BeginProg
'Configure the VOLT 108 Module and assign it CPI address 'C1'
CPIAddModule
(VOLT108,10,
" "
,C1)
'Main Scan
Scan
(5,Sec,1,0)
'Half Bridge, 4-wire measurements on the VOLT 108
CDM_BrHalf4W
(VOLT108,C1,Rs_R0,1,mV1000,mV1000,1,1,1,400, _
True,True,500,60,1,0)
'PRT temperature calculation
PRTCalc
(Temp_C_4wire,1,Rs_R0,0,1.0,0)
'Call Data Tables and Store Data
CallTable
Hourly
NextScan
EndProg
4WPB100, 4WPB1K PRT Bridge Terminal Input Modules
5