Manual
Section 2. Programming the Datalogger
2-2
2.1 Send Data Command
The following example depicts an EDLOG program for a CSI datalogger that
sends the battery voltage, internal datalogger temperature, and the time to the
Vosponder. The Vosponder is assumed to have been set up with an SDI-12
address of 1 and the SDI-12 data line (white wire) to be wired into the
dataloggers control port 1 (C1).
Example 2-1. Program to send three data values to the Vosponder
*Table 1 Program
01: 10 Execution Interval(seconds)
1: Batt Voltage (P10)
1: 1 Loc [ BatVolts ]
2: Internal Temperature (P17)
1: 2 Loc [ IntTemp ]
3: Time (P18)
1: 1 Minutes into current day (maximum 1440)
2: 0 Mod/By
3: 3 Loc [ Time ]
4: SDI-12 Recorder (P105)
1: 1 SDI-12 Address; Vosponder SDI-12 Address
2: 0 Start Measurement (aM0!)
3: 1 Port ;Control Port C1
4: 1 Loc [ BatVolts ] ;Location of the first data point to be sent
5: 1.0 Mult
6: 0.0 Offset
5: Extended Parameters 4 Digit (P68)
1: 88 Option ;Send “X” to indicate an extended command
2: 68 Option ;Send “D” to indicate that data is to follow
3: 128 Option ;Send the first data value (BatVolts)
4: 128 Option ;Send the second data value (IntTemp)
5: 128 Option ;Send the third data value (Time)
6: 0000 Option ;End of command marker
7: 0000 Option
8: 0000 Option
The above program will issue the SDI-12 command “1XD” then transfer three
data values to the Vosponder. This will take place every execution interval
(i.e., ten seconds in our example).
IMPORTANT:
• It is critical that all of the data values you will be sending to the Vosponder
are in consecutive input locations.
• The position that follows the last 128 must have “0000” (zeros) in it. If
the eighth position in the P68 is filled with a 128, then you will need to
issue another P68 with just “0000” (zeros) in it.