Module gma.show

Functions pertaining to the live operation and interaction of the console

Functions

gma.show.getdmx (dmx_addr) Gets the value of a DMX address?
gma.show.getdmx (recycle, dmx_addr, amount) Gets the value of many DMX addresses???
gma.show.getvar (varname) Returns the value of a GMA2 variable.
gma.show.setvar (varname, value) Sets a GMA2 variable.


Functions

gma.show.getdmx (dmx_addr)
Gets the value of a DMX address?

Parameters:

  • dmx_addr number DMX address

Returns:

    number Value of DMX address
gma.show.getdmx (recycle, dmx_addr, amount)
Gets the value of many DMX addresses???

Parameters:

  • recycle table ???
  • dmx_addr number ???
  • amount number ???

Returns:

    table values ???
gma.show.getvar (varname)
Returns the value of a GMA2 variable.

Parameters:

  • varname string varname to return

Returns:

    mixed Value of var

Usage:

  • Return all possible vars:
    CommandLine>ListVar
  • Default Variables:
    HOSTSUBTYPE = Type of device you are on.  (ie: "OnPC")
    HOSTTYPE = Type of device.  (ie: "Console")
    TIME = Current time of day ("00h00m00.000s")
    DATE = Current date ("1.1.2000")
    PRESET = ??? ("NONE")
    USER = Currently logged in user (ie: "administrator")
    HOSTNAME = Current hostname (ie: "MY-COMPUTER")
    USERPROFILE = Current user profile (ie: "Default")
    USERRIGHTS = Current user rights level (ie: "Admin")
    ATTRIBUTE = ??? ("NONE")
    OS = OS you are running (ie: "WINDOWS")
    HOSTSTATUS = MA-NET Session status (ie: "Standalone")
    HOSTIP = MA-NET IP address (ie: "192.168.0.1")
    PATH = Run path of the GrandMA software
    PLUGINPATH = Run path of LUA plugins
    VERSION = grandMA2 software version (ie: "3.1.2.5")
    SELECTEDEXEC = Selected Executer (ie: "1.1.1", "?.Page.Executer")
    FEATURE = ??? (ie: "NONE")
    FADERPAGE = Current fader page (ie: "1")
    BUTTONPAGE = Current button page (ie: "1")
    CHANNELPAGE = Current channel page (ie: "1")
    SELECTEDEXECCUE = ??? (ie: "NONE")
    SELECTEDFIXTURESCOUNT = Number of fixtures selected (ie: "16")
gma.show.setvar (varname, value)
Sets a GMA2 variable.

Parameters:

  • varname string varname to set
  • value mixed value to set to
generated by LDoc 1.4.6 Last updated 2019-05-03 22:15:32