Skip to content

HostSubType()

You're viewing grandMA3 2.3 docs. Switch to the latest (2.4).

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”).

This function does not accept any arguments.

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

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

Copy CodeLua
```
return function()
Printf("The HostSubType is "..HostSubType())

end