Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This article demonstrates how to send a serial command when a UDP message is received by the player.

image-20240410-184814.png
  1. Create a new presentation.

  2. Under Layout > Zones click Add Zone. Resize the zone give it a name. In this example, we’ve named the zone "Event Handler."

  3. Under Properties > Type set the zone to an Audio zone.

image-20240409-232835.png

  1. Go to the Content tab. Alternatively, from the Layout tab, double-click the zone. 

  2. Make the presentation interactive by toggling the Interactive switch to on.

  3. Navigate to Widgets and drag and drop the Event Handler widget to the playlist area.

image-20240410-185704.png

  1. Under Events, click the UDP event to activate it, and then click on the Event Handler state to attach it.

  2. In Event Properties > Specify UDP Input enter the UDP input that the player will be listening for (e.g., “AMX_Command1").

image-20240410-185810.png

  1. With the state selected (notice that Event Properties turns to State Properties), click the Advanced tab and click Add Command.

  2. Select the type of serial command that you would like to send once the specified UDP input message is received (Serial-send string with EOL, Serial-send string without EOL, or Serial send byte).

image-20240410-190133.png

  1. Enter the serial command string/value.

image-20240410-190500.png

  1. Configure the serial port setting by navigating to Presentation Settings > Interactive > Connectors. The serial settings from this panel must match the serial settings of the device you would like the player to communicate with (i.e. Baud rate, Data bits, Parity, Stop bits, Protocol, Send EOL, Receive EOL). The 3.5mm serial connector on the player is referred to as "Port 0".

 

image-20240410-190746.png

13. Navigate to Presentation Settings > Interactive > Networking and ensure the UDP Destination Port and UDP Receiver Port to the same value as on your AMX controller (or other UDP application).

Note: Both the UDP Destination Port and UDP Receiver Port should be set to the same value.

  • No labels