grandMA3 User Manual Publication

HostSubType()

grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » HostSubType()
Version 2.1

Description

The HostSubType Lua function returns a string with the host sub type of the station where the plugin is executed (for example, "FullSize", "Light", "RPU", "onPCRackUnit", "Undefined").

Arguments

This function does not accept any arguments.

Return

  • String:
    The returned string is the host sub-type of the device.

Example

This example prints the host sub-type of the station in the Command Line History:

Lua
return function()
Printf("The HostSubType is "..HostSubType())
end