Difference between revisions of "Api.output"
From Light Forge Wiki
Chris Monson (Talk | contribs) (→getDMX) |
Chris Monson (Talk | contribs) (→getDMX) |
||
Line 2: | Line 2: | ||
'''getDMX(universe As Integer) As Byte()''' | '''getDMX(universe As Integer) As Byte()''' | ||
− | Returns a byte array containing all current dmx data for the specified universe. If the specified universe doesn't exist this function returns null | + | Returns a byte array containing all current dmx data for the specified universe. If the specified universe doesn't exist this function returns null. |
Usage: | Usage: |
Revision as of 19:34, 6 May 2013
getDMX
getDMX(universe As Integer) As Byte()
Returns a byte array containing all current dmx data for the specified universe. If the specified universe doesn't exist this function returns null.
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)