Barco PDS-4K HDMI Presentation Switcher User Manual

Page 206

Advertising
background image

R5912621 /01 PDS–4K

206

-

{"params": {"type": 2}, "method":"activateCue", "id":"1234", "jsonrpc":"2.0"}
//Stop – type 2

activateDestGroup

Definition:
-

Recall a DestGroup on the Event Master processor. User can recall DestGroup with id, DestGroup
serial number, or DestGroup name.

-

Send any one of the parameters to recall DestGroup.

Request:
-

params:

{"id": x}

-

params:

{"destGrpSno": x.y}

-

params:

{"destGrName": "GroupName"}

Response:
-

response: null

-

success: (0=success, anything else is an error)

Example:
-

{"params": {"id": 0}, "method":"activateDestGroup", "id":"1234",
"jsonrpc":"2.0"}

-

{"params": {"destGrpName": "abc" }, "method":"activateDestGroup", "id":"1234",
"jsonrpc":"2.0"}

-

{"params": {"destGrpSno": 1.00}, "method":"activateDestGroup", "id":"1234",
"jsonrpc":"2.0"}

listCues

Definition:
-

This API lists all the cues.

Request:
-

params:

{}, "method":"listCues", "id":"1234", "jsonrpc":"2.0"}

Response:
-

response: Array of cue objects.

-

success: (0=success, anything else is an error)

Example:
-

{"params": {}, "method":"listCues", "id":"1234", "jsonrpc":"2.0"}

changeContent

Definition:
-

This API changes the content of a screen destination by putting background and layers in it.

Request:
-

params:

{"id":0, "Layers": [{"id":0,"ScalingMode":0]}

id—Screen destination index.

scalingMode: 0 = all. 1 = center cut

Response:
-

response: null

-

success: (0=success, anything else is an error)

Example:
-

{"params":{"id":0,"Layers": [{"id":1, ,"ScalingMode":0, "LastSrcIdx":10,

"Source":{"HPos":0,"VPos":0,"HSize":1122,"VSize":1122},"PvwMode":1,

"PgmMode":0,"Freeze":0}]}, "method":"changeContent", "id":"1234",

"jsonrpc":"2.0"}

-

{"params":{"id":0, "TestPattern" :5 }, "method":"changeContent", "id":"1234",
"jsonrpc":"2.0"}

Remote Control Protocol

Advertising