Campbell Scientific SDM-CD8S 8 Channel Solid State DC Control Module User Manual
Page 23

SDM-CD8S 8 Channel Solid State DC Control Module
'CR1000 Series Datalogger 
 
'CR1000 Wiring: 
'SDM Connections 
 
'C1 
SDM Data (green)
'C2
SDM Clock (white)
'C3
SDM Enable (brown)
'G
SDM reference (black)
'
SDM shield (clear)
'+12
Not Connected (Red)
 
PipeLineMode 
 
Dim SiteSequence(10) As Long 
'The sequence consists of 10 valve settings
Dim SiteValve(8) As Long
'There are 8 valve settings in the above sequence
Dim SiteValveCD16 As Long
'This is the variable that is used to set the SDM-CD16
 
Dim AvgDisable As Boolean 
Public EndOmit As Boolean 
Public SeqActiveFlag As Boolean 
'Set false to disable auto site switching
 
Public Site As Long 
Public SiteOutput As Long 
Public Count As Long 
Public SeqIndex As Long 
 
'Variables for Measurements 
Public GasConc(2) 
 
'Variable that controls valve switching and averaging periods 
 
Const OmitCounts = 10 
Dim I As Long 
Dim One 
 
DataTable (RawData,True,-1) 
 DataInterval 
(0,0,Sec,10)
CardOut (0 ,-1)
Sample
(1,Site,IEEE4)
Sample
(1,Count,IEEE4)
Sample
(1,SeqActiveFlag,IEEE4)
Sample
(2,GasConc(1),IEEE4)
EndTable 
 
'Site Table, output each time a site is completed. 
 
17
