grandMA3 User Manual Publication
GetDMXUniverse(integer[, boolean])
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » GetDMXUniverse(integer[, boolean])
|
Version 2.0
|
Description
The GetDMXUniverse Lua function returns a table with the DMX channels and their current value.
Arguments
- Integer:
The integer is the universe number. The valid range is 1 to 1024. - Boolean (optional):
The boolean indicates if the returned value is in percent or DMX value.- True:
The returned value is in percent. The range is 0 to 100. - False:
The returned value is in DMX value. The range is 0 to 255.
- True:
Return
- Table:
The returned table lists all the DMX addresses and the corresponding value.
-- OR --
- Nil:
Nil is returned if the universe is not granted or the input value is out of range.
Example
This example prints the table in a list for DMX universe 1 (if it is granted):
Lua |
return function() |