beautypg.com

Barco PDS-4K HDMI Presentation Switcher User Manual

Page 203

background image

203

R5912621 /01 PDS–4K

-

{"params": {"presetName": "NewPreset", "newPresetName": "NewPresetName"},

"method":"renamePreset", "id":"1234", "jsonrpc":"2.0"}

-

{"params": {"presetSno": 1.00, "newPresetName": " newPresetName "},

"method":"renamePreset", "id":"1234", "jsonrpc":"2.0"}

activatePreset

Definition:
-

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

-

Send any one of the parameters to recall Preset.

Request params:
-

params:

{"id": x, "type": x}

-

params:

{"presetSno": x.y, "type": x}

-

params:

{"presetName": "PresetName"}

“type”—0 to recall in preview (default), 1 to recall in program.
This is not a mandatory parameter but should be given when the user wants to recall a Preset in
program.

Response:
-

response: null

-

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

Example:
-

{"params": {"id": 0, "type": 0}, "method":"activatePreset",

"id":"1234", "jsonrpc":"2.0"} //Recall in preview with id 0.

-

{"params": {"presetName": "abc" }, "method":"activatePreset",

"id":"1234", "jsonrpc":"2.0"} //Recall in preview with preset name "abc".

-

{"params": {"presetSno": 1.00, "type": 1}, "method":"activatePreset",

"id":"1234", "jsonrpc":"2.0"} //Recall in program with presetSno 1.

recallNextPreset

Definition:
-

Recall the next Preset on the Event Master processor.
No parameter is required.

-

Make sure that the user has at least recalled one Preset. Web app recalls the next Preset from the last
Preset recalled.

Request:
-

params:

{}

Response:
-

response: null

-

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

-

An error is shown if there was no last recalled Preset or if there is no next Preset in the list.

Example:
-

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

deletePreset

Definition:
-

Delete a Preset on the Event Master processor.
User can delete Preset with id, Preset serial number, or Preset name.

-

Send any one of the parameters to delete Preset.

Request:
-

params:

{"id": x}

-

params:

{"presetSno": x.y}

-

params:

{"presetName": "PresetName"}

Remote Control Protocol