
Quantum SBC User Manual Rev A
www.diamondsystems.com
Page 57
13.16
READ ANALOG DATA
Command:
Byte
Length
Value and Description
0
2
MESSAGE_SIG: Message signature
2
1
COMMAND_ANALOG_READ:
Command ID
3
1
0: Indicating no data
Response:
Byte
Length
Value and Description
0
2
MESSAGE_SIG: Message signature
2
1
COMMAND_RECEIVER_ANALOG_DATA:
Response ID
3
1
8: Indicating 8 bytes of data
4
8
8 bytes of data buffer containing the analog values for channels 0 to 3
Comments:
This command retrieves the analog voltage values of channels 0 to 3. The response consists of eight bytes of
data which contain the analog voltage for channels 0 to 3 in hex. The data consists of the following values:
1st byte: Lower byte of the voltage value of channel 0
2nd byte: Higher byte of the voltage value of channel 0
3rd byte: Lower byte of the voltage value of channel 1
4th byte: Higher byte of the voltage value of channel 1
5th byte: Lower byte of the voltage value of channel 2
6th byte: Higher byte of the voltage value of channel 2
7th byte: Lower byte of the voltage value of channel 3
8th byte: Higher byte of the voltage value of channel 3