Section 7. Installation
Command Name
SDIRecorder()
SDICommand
Argument
SDI-12 Command Sent
Sensor Response
1
CR1000 Response
Notes
Address Query
?!
CR1000: issues
a?!
command. Only one sensor can be attached to the
C
terminal configured for SDI-12 for this command to elicit a response.
Sensor must support this command.
Change Address
Ab!
CR1000: issues
aAb!
command
Concurrent Measurement
Cv!, CCv!
CR1000: issues
aCv!
command
Sensor: responds with
atttnn
CR1000: if
ttt
=
0
, issues
aDv!
command(s). If
nnn
=
0
then
NAN
put in
the first element of the array.
Sensor: responds with data
CR1000: else, if
ttt
> 0 then moves to next CRBasic program instruction
CR1000: at next time
SDIRecorder()
is executed, if elapsed time <
ttt
,
moves to next CRBasic instruction
CR1000: else, issues
aDv!
command(s)
Sensor: responds with data
CR1000: issues
aCv!
command (to request data for next scan)
Alternate Concurrent Measurement
Cv
(note — no ! termination)
2
CR1000: tests to see if ttt expired. If ttt not expired, loads 1e9 into first variable and
then moves to next CRBasic instruction. If ttt expired, issues aDv! command(s).
See section Alternate Start Concurrent Measurement Command (Cv) (p. 273)
Sensor: responds to
aDv!
command(s) with data, if any. If no data, loads
NAN into variable.
CR1000: moves to next CRBasic instruction (does not re-issue
aCv!
command)
Send Identification
I!
CR1000: issues
aI!
command
Start Measurement
M!, Mv!, MCv!
CR1000: issues
aMv!
command
Sensor: responds with
atttnn
CR1000: If
nnn
=
0
then
NAN
put in the first element of the array.
CR1000: waits until
ttt
3
seconds (unless a service request is received).
Issues
aDv!
command(s). If a service request is received, issues
aDv!
immediately.
Sensor: responds with data
Continuous Measurements
Rv!, RCv!
CR1000: issues
aRv!
command
Start Verification
V!
CR1000: issues
aV!
command
1
See table
SDI-12 Commands for Transparent Mode
(p. 269)
for complete sensor responses.
2
Use variable replacement in program to use same instance of
SDI12Recorder()
as issued
aCV!
(see the CRBasic example
Using Alternate
Concurrent Command (aC)
(p. 277)
).
3
Note that
ttt
is local only to the
SDIRecorder()
instruction. If a second
SDIRecorder()
instruction is used, it will have its own
ttt
.
Note
aCv
and
aCv!
are different commands —
aCv
does not end with
!
.
273
Summary of Contents for CR1000
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 36: ......
Page 38: ......
Page 40: ......
Page 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Page 96: ......
Page 98: ...98 ...
Page 302: ......
Page 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Page 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Page 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Page 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Page 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Page 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Page 478: ......
Page 506: ......
Page 536: ......
Page 636: ......
Page 642: ......
Page 644: ......
Page 676: ......
Page 677: ......