Send Hex Commands in BA:connected

 

You can easily send Hex values in a BrightAuthor:connected Interactive presentation. For example, this is a "power on" command for a ViewSonic projector. These are hex values, indicated by the “0x” prefix. 

0x06 0x14 0x00 0x04 0x00 0x34 0x11 0x00 0x00 0x5D

To send this command to the projector using the serial port on a BrightSign player:

Media State

  1. Create an Interactive presentation in BrightAuthor:connected.

  2. Select the media state where you want to send the Hex command.

  3. Go to State Properties > Advanced.

  4. Add an Entry Command or Exit Command and set the Command to Send and the Parameters to Serial bytes (comma separated).

  5. Set the Port to 0 (this is the case for most standard serial devices).

  6. Enter the command in the Byte field. Use a comma to separate each byte.

Hex_Cmds_Media.png

Event State

  1. Create an Interactive presentation in BrightAuthor:connected.

  2. Open the event where you want to send the Hex command.

  3. Go to Event Properties > Advanced

  4. Click Add Command and set the Command to Send and the Command Parameters to Serial bytes (comma separated)

  5. Set the Port to 0 (this is the case for most standard serial devices).

  6. Enter the command in the Byte field. Use a comma to separate each byte.

Hex_Cmds_Event.png

When sending serial bytes, you must use decimal values, not the Hex values listed above. For example:

Hex values: 06 00 04 00 34 11 00 00 5D

Equivalent decimal values: 06 00 04 00 52 17 00 00 93

You can convert Hex values to decimal values using any number of free websites.