R5905948 /12
Event Master Devices
563
"method":"3dControl", "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,"BGLyr":[{"id":0,"LastBGSourceIndex":0,"BGShowMatte":0,
"BGColor":[{"id":0,"Red":0,"Green":0,"Blue":0}]},{"id":1,
"LastBGSourceIndex":0,"BGShowMatte":0,"BGColor":
[{"id":0,"Red":0,"Green":0,"Blue":0}]}],"Layers":
[{"id":0,"LastSrcIdx":0,"Window":
{"HPos":0,"VPos":0,"HSize":400,"VSize":300},
"Source":{"HPos":0,"VPos":0,"HSize":1920,"VSize":1080}, "Mask":
{ "Left":0.01, "Right":10.1, "Top":0.0,"Bottom":0.0},"PvwMode":1,"PgmMode":0,
"Freeze":0,"PgmZOrder":0,"PvwZOrder":0}]}
◦
id
—
Screen destination index.
◦
BGLyr
—
Background layer index, Last source index of background.
“
id
”
:0 affects the Background in Program.
“
id
”
:1 affects the Background in Preview.
◦
Layers
—
Layer information.
◦
Window
—
Layer window size.
◦
Source
—
Source info and size.
◦
Mask
—
Crop the visible part of the layer.
◦
PvwMode
—
Set 1 if you want the content in preview. (Default)
◦
PgmMode
—
Set 1 if you want the content in program.
•
Response:
-
response: null
-
success: (0=success, anything else is an error)
•
Example:
-
{"params":{"id":0,"BGLyr":[{"id":0,"LastBGSourceIndex":0,"BGShowMatte":0,
"BGColor":[{"id":0,"Red":0,"Green":0,"Blue":0}]},{"id":1,
"LastBGSourceIndex":0,"BGShowMatte":0,"BGColor":[{"id":0,"Red":0,
"Green":0,"Blue":0}]}],"Layers":[{"id":0,"LastSrcIdx":0,
"Window":{"HPos":0,"VPos":0,"HSize":400,"VSize":300},
"Source":{"HPos":0,"VPos":0,"HSize":1920,"VSize":1080},
"Mask":{ "Left":0.01, "Right":10.1, "Top":0.0,"Bottom":0.0},
"PvwMode":1,"PgmMode":0,"Freeze":0,"PgmZOrder":0,"PvwZOrder":0}]},
"method":"changeContent", "id":"1234", "jsonrpc":"2.0"}.
-
{"params":{"id":0, "TestPattern" :5 }, "method":"changeContent", "id":"1234",
"jsonrpc":"2.0"}
freezeDestSource
•
Definition:
-
This API Freezes/Unfreezes the sources.
•
Request:
-
params:
{"type": x, "id": y, "screengroup": z ,"mode": 0/1}
◦
type
—
type of source.
◦
0
—
Input source.
◦
1
—
Background source.
◦
2
—
ScreenDestination.
◦
3
—
AuxDestination.
◦
id
—
Index of the source.
-
Screengroup
—
For future use. Always set to 0.
-
Mode
—
0 : UnFreeze, 1 : Freeze.
Summary of Contents for Event Master E2 Series
Page 1: ...ENABLING BRIGHT OUTCOMES User s Guide Event Master Devices...
Page 12: ...R5905948 12 Event Master Devices 12...
Page 24: ...R5905948 12 Event Master Devices 24 Safety...
Page 52: ...R5905948 12 Event Master Devices 52 General...
Page 82: ...R5905948 12 Event Master Devices 82 Hardware orientation...
Page 102: ...R5905948 12 Event Master Devices 102 Front Panel Menu orientation...
Page 272: ...R5905948 12 Event Master Devices 272 Image 6 137 EM GUI orientation...
Page 304: ...R5905948 12 Event Master Devices 304 Updating firmware...
Page 326: ...R5905948 12 Event Master Devices 326 Image 9 28 General operation example...
Page 382: ...R5905948 12 Event Master Devices 382 Preventive maintenance actions...
Page 444: ...R5905948 12 Event Master Devices 444 E2 Maintenance...
Page 528: ...R5905948 12 Event Master Devices 528 EC 200 EC 210 Maintenance...
Page 569: ...569 R5905948 12 Event Master Devices Troubleshooting C...
Page 572: ...R5905948 12 Event Master Devices 572 Troubleshooting...