Notes, Get global lua variables, Sample response – ETC Unison Mosaic Designer v1.11.0 User Manual

Page 248: Example

Advertising
background image

Unison Mosaic Designer User Manual

<textSlot name = "slot_name">slot value</textSlot>

</response>

Notes

Multiple text slots can be requested by adding multiple query arguments, for example:

GET http://xxx.xxx.xxx.xxx/query/textSlot?slot1&slot2&slot3

If a slot name is not recognised, it will be ignored.

Get Global Lua Variables

Get the value of a global Lua variable.

l

Command: variable

l

Args: variable_name (required)

Sample Response

<response>

<variable name = "variable_name">variable value</variable>

</response>

Notes

Multiple variables can be requested by adding multiple query arguments, for example:

GET http://xxx.xxx.xxx.xxx/query/vari-

able?variable1&variable2&variable3

If a variable name is not recognised, or if the variable's value cannot be represented as text, the <variable> tag
will contain no value.

Example

An example file can be found

here

.

- 248 -

Advertising