Campbell Scientific SDM-CD8S 8 Channel Solid State DC Control Module User Manual
Page 27
SDM-CD8S 8 Channel Solid State DC Control Module
2. The sequence continues running as if nothing happened until the next
occurrence of the sync interval (synced to the current clock) and then
restarts.
3. Ignore the change in the clock, keep the current count and index
proceeding as if nothing happened.
When the TimedControl instruction is used within the program (i.e, after
BeginProg) to reset or change the sequence this option is used to set what
happens between the time the instruction is executed and the sync interval
occurs. Only option codes 1 and 2 are valid:
1. The instruction behaves as if it were just started after compile and the
input to the SDMCD16 goes to the default value.
2. The sequence continues running as if nothing happened until the next
occurrence of the sync interval and then restarts.
'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 SeqProgrammedFlag As Boolean
Dim AvgDisable As Boolean
Public EndOmit As Boolean
Public SeqActiveFlag As Boolean
'Set false to disable auto site switching
'and enable manual control of valves
Public Site As Long
Public SiteOutput As Long
Public Count As Long
Public SeqIndex As Long
Dim ValveTime(10,2) As Long
'Variables for Measurements
Public GasConc(2)
'Variable that controls valve switching and averaging periods
21