Campbell Scientific SDM-SIO4 4-Channel Serial I/O Interface User Manual
Page 58
Section 5. Programming the Datalogger
5-26
;set up string filter
3: SDM-SIO4 (P113)
1:
1
Reps
2:
0
Address
3:
1
Send/Receive Port 1
4:
2054
Command
5:
9200
1st Parameters
6:
0
2nd Parameters
7:
0
Values per Rep
8:
0
Loc [ _________ ]
9:
1.0
Mult
10: 0.0
Offset
;delay required by filter setup command
4: Excitation with Delay (P22)
1:
1
Ex Channel
2:
0
Delay W/Ex (units = 0.01 sec)
3:
1
Delay After Ex (units = 0.01 sec)
4:
0
mV Excitation
;set flag one high so the filter set-up is only done once
5: Do (P86)
1:
11
Set Flag 1 High
;end of IF
6: End (P95)
*Table 2 Program
02: 0.0000
Execution Interval (seconds)
*Table 3 Subroutines
;interrupt routine for control port 8
1: Beginning of Subroutine (P85)
1:
98Subroutine 98
;get voltages into locations 3 and 4