Difference between revisions of "Api.output"

From Light Forge Wiki
Jump to: navigation, search
(Created page with "==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) ...")
 
(getDMX)
Line 1: Line 1:
 
==getDMX==
 
==getDMX==
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.
 
Returns a byte array containing all current dmx data for the specified universe.
Line 7: Line 7:
 
   dmxValues = api.output.getDMX(0)
 
   dmxValues = api.output.getDMX(0)
 
   print(dmxValues[17])
 
   print(dmxValues[17])
 +
 +
==getUniverseCount==
 +
'''getUniverseCount() as Integer'''
 +
 +
Returns the number of DMX universes in the current show.
 +
 +
Usage:
 +
  universeCount = api.output.getUniverseCount()
 +
  print(universeCount)

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[17])

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