grandMA3 User Manual Publication
GetChannelFunction(integer, integer)
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » GetChannelFunction(integer, integer)
|
Version 2.1
|
Description
The GetChannelFunction Lua function returns a handle to a channel function based on two index inputs.
Arguments
- Integer:
The first integer is a UI Channel Index. This can be found in the Parameter List or by the GetUIChannelIndex() Lua function. - Integer:
This integer is an Attribute Index (0-based). This can be found in the Attribute Definitions or by the GetAttributeIndex() Lua function.
Return
- Handle:
The returned handle to the channel function.
Example
This example prints the data connected to the handle. It uses the Dump() function:
Dump()
The Dump() function returns a string with information about the object, for instance, the name, class, path of the object, its properties, and children.
Learn more in the Dump() topic.
Lua |
return function() |