Difference between revisions of "Api.output"

From Light Forge Wiki
Jump to: navigation, search
(getDMX)
(getDMX)
Line 6: Line 6:
 
Usage:
 
Usage:
 
   dmxValues = api.output.getDMX(0)
 
   dmxValues = api.output.getDMX(0)
   print(dmxValues[17])
+
   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)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox