Commands – Grass Valley XSwitch Feb 08 2006 User Manual

Page 36

Advertising
background image

36

XSWITCH Installation and Operation Manual

Appendix A — Remote Activation

Commands

* The XSWITCH will pause briefly while sending the data.

** This command should not be used during normal operations.

Table 8. Device ID

Device ID

The following command is used to obtain the device ID type

Command:

0-Get Device ID Code

Parameters

Reply:

None.... (Send copyright message)

Copyright Message

Definitions:

Examples:

Reply:

0,1

XSWITCH Copyright 2005, Grass Valley

Table 9. Get/Set Switch State

Get/Set Switch State

The following command is used to get/set the switch state

Command:

1 - Get/Set Switch State

Parameters:

Reply:

None.(Send Switch State)

[A - E]

[A - E]................... (Set Switch State)

[A - E]

Definitions:

[A - E] - ASCII characters ‘A’ through ‘E’

Examples:

Get current switch state

Set switch state to ‘B’

Set switch state to ‘C’

Reply

1 A

1,B B

1,C C

Table 10. Screen Capture

Screen Capture

The following command is used to capture data currently displayed

on the LCD

command:

2 - screen capture

parameters:

none........ (send screen data)

reply: [screen

data]

definitions:

screen data - the screen data is too large for the normal grass valley protocol. it is
sent without any protocol wrapping. immediately after sending this command the
following packet will be returned:

[width] [height] [bitmap data]

width = the lcd width in pixels (120)

height = the lcd height in pixels (80)

bitmap data = monochrome bitmap data of

(width * height) / 8 in length. (1200 bytes)

examples:

get screen capture 2

reply

[120] [80] [.....1200 bytes.....]

Advertising