Sensoray 7429 User Manual
Page 29

Read All Channels
This command returns the most recently acquired data from a block of eight sensor
channels. Depending on the command form used, data will be returned from either
channels 0-7 or 8-15.
Sensor data is weighted as a function of the declared sensor type connected to each
channel. Refer to the sensor tables near the end of the manual for sensor weights.
COMMAND:
(144)
RESPONSE:
(CH0 MSB),(CH0 LSB),
(CH1 MSB),(CH1 LSB),
(CH2 MSB),(CH2 LSB),
(CH3 MSB),(CH3 LSB),
(CH4 MSB),(CH4 LSB),
(CH5 MSB),(CH5 LSB),
(CH6 MSB),(CH6 LSB),
(CH7 MSB),(CH7 LSB)
COMMAND:
(145)
RESPONSE:
(CH8 MSB),(CH8 LSB),
(CH9 MSB),(CH9 LSB),
(CH10 MSB),(CH10 LSB),
(CH11 MSB),(CH11 LSB),
(CH12 MSB),(CH12 LSB),
(CH13 MSB),(CH13 LSB),
(CH14 MSB),(CH14 LSB),
(CH15 MSB),(CH15 LSB)
Example:This code segment will read data from all sixteen sensor channels into a
data array:
CALL SendByte (144)'opcode: read channels 0-7
FOR channel% = 0 to 7
DataArray%(channel%) = ReadWord%
NEXT channel%
CALL SendByte (145)'opcode: read channels 8-15
FOR channel% = 8 to 15
DataArray%(channel%) = ReadWord%
NEXT channel%