Remote Control

From DISE KnowledgeBase

Jump to: navigation, search

Using Remote Control almost any software could control parts of playback, scheduling and several other things by sending messages over TCP, UDP or multicast UDP.

Contents

Command build up

If you are using Dise Parser, Dise Keyboard Control or any of our other applications that can send out Remote Control messages, then you do not really have to put any focus on how the messages should be formatted as these applications will do that for you.

On the other hand, if you want to create your own Remote Control messages to send on Multicast or UDP / TCP then you need to add an header to the message being sent out.

The header is separated in two sections, first a time stamp and then the Identity of the software sending out the message.

Section Description Length
YYYYMMDDHHMMSS Time stamp (year, month, day, hour, minute, second) 14 characters
ID Identity of the sending software. Any

The sections in the header are separated by a "|" (ASCII 124 decimal, 7C hex) character.

Example.png Example:

20090313184943|KeyboardControl|Play

Then the command and any parameters will be put after the header, all separated by the "|" character.

Dise Replay Commands

Command Parameter(s) Description
Play   Start playing the Dise Movie / display scheme configured in Dise Replay. If paused this will resume playback.
  C:\Path\To\Movie.disemovie Change the Dise Movie / display scheme to be played.
Stop   Stop the playback.
Pause   Pause the playback.
Forward   Step one scene forward.
Rewind   Step one scene backward.
AddVariable Variable Add the specified variable (temporary).
RemoveVariable Variable Remove the specified variable (will only remove temporary variables).
Channel <Channel action>|<Channel name> Do the selected action on the specified channel. Available actions: play, stop, pause, unpause, restartscene, loopscene, forward, rewind. The channel specified can be a regular expression to match multiple channels.

Example.png Play a Dise Movie:

20110313184943|KeyboardControl|Play|C:\Path\To\Movie.disemovie

Example.png Pause the channel "News":

20110313184943|KeyboardControl|Channel|pause|News

Dise Probe Commands

Command Parameter(s) Description
ProbeStart   Start Probe download action.
ProbeStop   Stop Probe download action.
ProbeConnect   Trigger a Connect on destinations.
ProbeVolumeMute   Have Probe mute the volume of the PC.
ProbeVolumeUnMute   Have Probe un-mute the volume of the PC.
ProbeVolumeHalf   Have Probe put the volume of the PC to 50%.

View incoming Remote Control messages

Dise Replay and Dise Probe both provide a Remote Control View which let you inspect the messages as they reach the player.

File:RemoteControlView.png

Remote Control View dialog

This is useful for troubleshooting and verification when creating an interactive presentation.

Scheduling

Scheduling can be controlled by using the Remote Control.

Synchronization

Dise NoBorders relies on synchronization of players. The synchronization signal is also transferred using the Remote Control.

Dynamic Data

It is possible to use data connections to text distributed through the remote control network.

This feature will give you the possibility to send out data from anywhere on your network (or Internets) and have Replay show the text directly when it is received. Update times vary depending on the display frequency, but should about 60 times a second. Since the update will be this quick this feature can be used for sport event timing and similar setups.

Command Parameter(s) Description
DynamicData   This is a DynamicData message
  <Name> The name of this dynamic data
  <Text> The text to be assigned to the dynamic data name.

Example.png Send dynamic data:

20090313184943|KeyboardControl|DynamicData|OurText|Dynamical text!

How to use

  • Create a Text Object.
  • Data Connect the Text Object and instead of giving a file name, enter: "#RC#OurText". (Change the "OurText" part to whatever you where calling the dynamic text in the input message).
  • Setup "Enable Remote Control of this player" and "Enable Multicast communication" in the Replay Preferences > Communication tab.

File:Dise2010ReplaySettingsCommunication.png

Communication tab
  • Start Replay with the Dise Movie containing the Text Object.
  • Send multicast command as described above.

You can data connect to Dynamic Data on multiple locations. If you for some reason want to send data that contains multiple parts, you can send a string with a separator, for example, "1|200|FOO" and then use column processing in the Data Connection dialog to access specific parts.

Settings Changed Command

Dise Replay, Dise Probe, Dise Screen Control and Dise Computer Control support storing some settings in the Dise Complete database. It is then possible to send out a Settings Changed command to force the applications to connect and check if its settings in Dise Complete have been updated.

Command Parameter(s) Description
SettingsChanged   This is a SettingsChanged message

Example.png Send Settings changed message:

20090313184943|KeyboardControl|SettingsChanged

We recommend using the Dise Keyboard Control application to test commands and triggering.




All items on this website are copyright Klocktornet AB 2012, all rights reserved.
All trademarks are property of their respective owners.