Section 5. Programming the Datalogger
5-24
6: SDM-SIO4 (P113)
1:
1
Reps
2:
0
Address
3:
1
Send/Receive Port 1
4:
1
Command
5:
0
1st Parameters
6:
0
2nd Parameters
7:
1
Values per Rep
8:
2
Loc [ poll ]
9:
1.0
Mult
10: 0.0
Offset
;if value returned from poll is >=1 then data must be available.
7: IF (X<=>F) (P89)
1:
2
X Loc [ poll ]
2:
3
>=
3:
1
F
4:
30
Then Do
;get voltages into locations 3 and 4 if poll was true.
8: SDM-SIO4 (P113)
1:
1
Reps
2:
0
Address
3:
1
Send/Receive Port 1
4:
4
Command
5:
0
1st Parameters
6:
0
2nd Parameters
7:
2
Values per Rep
8:
3
Loc [ voltage1 ]
9:
1.0
Mult
10: 0.0
Offset
;set the output flag so the data can be store to final storage.
9: Do (P86)
1:
10
Set Output Flag High (Flag 0)
;time stamp.
10: Real Time (P77)
1:
1111
Year,Day,Hour/Minute,Seconds
;Instantaneous value stored into final storage.
11: Sample (P70)
1:
2
Reps
2:
3
Loc [ voltage1 ]
;end of IF.
12: End (P95)
Summary of Contents for SDM-SIO4
Page 6: ...SDM SIO4 Table of Contents iv This is a blank page ...
Page 12: ...Section 1 Introduction 1 6 This is a blank page ...
Page 16: ...Section 2 Installation and Hardware Set Up 2 4 This is a blank page ...
Page 26: ...Section 3 Understanding How the SDM SIO4 Handles Data 3 10 This is a blank page ...
Page 32: ...Section 4 Programming the SDM SIO4 4 6 This is a blank page ...
Page 62: ...Section 5 Programming the Datalogger 5 30 This is a blank page ...
Page 76: ...This is a blank page ...
Page 81: ...This is a blank page ...