Difference between revisions of "Api.output"
From Light Forge Wiki
Chris Monson (Talk | contribs) (→getDMX) |
Chris Monson (Talk | contribs) (→getDMX) |
||
Line 6: | Line 6: | ||
Usage: | Usage: | ||
dmxValues = api.output.getDMX(0) | dmxValues = api.output.getDMX(0) | ||
− | print(dmxValues[ | + | print(dmxValues[42]) |
==getUniverseCount== | ==getUniverseCount== |
Revision as of 19:32, 6 May 2013
getDMX
getDMX(universe As Integer) As Byte()
Returns a byte array containing all current dmx data for the specified universe.
Usage:
dmxValues = api.output.getDMX(0) print(dmxValues[42])
getUniverseCount
getUniverseCount() as Integer
Returns the number of DMX universes in the current show.
Usage:
universeCount = api.output.getUniverseCount() print(universeCount)