Instruction Manual

Revision Date: 08/02/02
LabPro Technical Manual48
Command 9 Request Channel Data
This command requests one data point before sampling starts. Used to verify that setup is correct.
Syntax:
{9,
channel, mode
}
Parameter List:
channel indicates the channel on which this command operates. The possible values are
Channel number Description
1 4 Analog channels 1 through 4
11, 12 Sonic Channel 1, Sonic Channel 2
mode chooses between present setup or setup for previously collected run. This allows sensors to
be disconnected after run is completed but still able to retrieve auto ID value.
Reqtype value Description
0
Re-tests the channel for AutoID value
1 returns the stored AutoID value
Return values:
one value is returned current sensor value (curval). Calculators must send a
Get to retrieve these values.
curval
= immediate value of sensor which was setup in requested channel.
Example 1: Retest the analog channel 1 for a smart sensor. In the case of the calculator, store the data in
list L1.
Computer Calculator
s{9,1,0}<CR> :Send({9,1,0})
:Get(L1)
In a terminal session, the host-LabPro conversation appears as follows:
Host LabPro
s{9,1,0} { +1.94383E+00 }
s{9,1,0} { +1.70452E+00 }
s{9,1,1} { +1.84005E+00 }
** Change to Barometer sensor **
s{9,1,0} { +2.19536E+00 }
s{9,1,0} { +2.19536E+00 }
s{9,1,0} { +2.19536E+00 }