Kramer Electronics revision1 manual Sent command from Virtual Device application

Page 11

The Virtual Device – an Application Example

The number of buttons on the Virtual Device and their functionalities are defined using the K-Config software in K-Config Virtual Device triggers layer.

Pressing a "button" on a Virtual Device application will send a corresponding command to the Master RC.

In the following example, the Virtual Device has K-NET ID = 11 and pressing the first button (#1 in the defined K-Config Virtual Device trigger layer) of the Virtual Device executes the following actions:

The button color changes to red

The text label (a defined text field) changes to PC SELECTED

The SV-552switches to the VGA input

The command sent from the virtual device is:

#BTN 1,11,R\r

// Sent command from Virtual Device application

 

 

The answer from the Master RC to this event, as defined for Button 1 of the Virtual Device with K-NET ID=11 in K-Config, is:

#11@RGB

1,255,0,0,1

// Set RED Color on Virtual Device

#11@LABEL 1,"ON"

// Set Label "PC SELECTED" on Virtual Device

#... (some others commands)

~01@BTN

1,11,R OK

// ACK for command from Master RC

 

 

 

The application catches the answer and changes the button color to "RED" and the label to "PC SELECTED", as illustrated in Figure 8:

9

Image 11
Contents Kramer Control Systems Virtual Device Build Guidelines Contents Communication Layer IntroductionDefinitions within the context of this document System Overview Virtual Device an Application ExampleImplementation Hardware SetupSetup Example #\r FunctionalitiesConnecting the Virtual Device to the Room Controller Connecting Flow Chart Sending and receiving Data to/from Master RC Sent command from Virtual Device application Sending and Receiving Commands Host message format Command parts detailsCommunication Protocol Input String Max Length Commands EnteringCommands Forms Master Device#03@RGB 1,0,255,0,1CR Communication Protocol