Appendix D
API
The IoCore2 is pre-programmed to make its internal functionality available via
OSC and UDP. There is a simple API implemented for each protocol. Notwith-
standing these API’s, it is possible to create your own OSC and UDP imple-
mentation in the Show Control page.
D.1
OSC
The following table uses GPO #1 as an example. The number ’1’ can be re-
placed by any number in the range of [1,6].
URI
Parameter
Description
/core/gpo/1
bool
Switch the relay on GPO port #1
The following table uses actionlist #1 as an example. The number ’1’ can
be replaced by any number in the range of [1,8]. The table also uses action #2
as an example. The number ’1’ can be replaced by any number in the range of
[1,48].
URI
Parameter
Description
/core/al/1/2/execute
bool/float/integer
Execute action #2 inside action list #1
/core/al/1/enable
bool
Set the ’enable’ checkbox for action list #1
The following table shows how to directly control the DMX values. The
DMX port needs to be switched to output. The table uses dmx channel #1 as
an example. The number ’1’ can be replaced by any number in the range of
[1,512].
URI
Parameter
Description
/core/dmx/1
integer
Set the value of DMX channel 1
The following table uses timer #1 as an example. The number ’1’ can be
63