Lua 関数の GetDMXValue は、指定されたDMXアドレスのDMX値を返します。
この例では、ユニバース4のDMXアドレス1の値を出力しています。
return function()
-- This prints the value of DMX address 1 in universe 4 in a range of 0 to 255
local universe = 4 -- The DMX universe
local address = 1 -- The DMX address
local percent = false -- Readout in percent or DMX value
local value = GetDMXValue(address, universe, percent)
Printf("DMX address %i.%03d is %03d", universe, address, value)
end