Barco R5075236_r03 Projector User Manual


 
2-33 2-33user's manual R5975236-r3 user's manual R5975236-r3
Chapter 2: Elementary commands
Chapter 2: Elementary commands
Example:
Read the active source/slot number+mode of a projector with address \x01.
Suppose the source number equals \x03 and its mode equals \x01.
Transmit
Start \xfe
Projector address \x01
Command[0] \x34
Checksum \x35
Stop \xff
Receive (acknowledge)
Start \xfe
Projector address \x01
Command[0] \x00
Command[1] \x06
Checksum \x07
Stop \xff
Receive (answer)
Start \xfe
Projector address \x01
Command[0] \x34
Data[0] \x03
Data[1] \x01
Checksum \x39
Stop \xff
source/slot, read number+mode
Example:
Read the active source/slot number+mode of a projector with address \x01.
Suppose the source number equals \x03 and its mode equals \x01.
Transmit
Start \xfe
Projector address \x01
Command[0] \x34
Checksum \x35
Stop \xff
Receive (acknowledge)
Start \xfe
Projector address \x01
Command[0] \x00
Command[1] \x06
Checksum \x07
Stop \xff
Receive (answer)
Start \xfe
Projector address \x01
Command[0] \x34
Data[0] \x03
Data[1] \x01
Checksum \x39
Stop \xff
source/slot, read number+mode