Session:AddChannels
This function is part of the Session class.
AddChannels is used to add one or more new Channels of live data to your Session.
These channels are loaded from an AQL statement, allowing you to dynamically link to assets based on their relationships, types, properties etc.
The session won't start receiving new updates until the next call to Start.
Parameters
Name | Description |
---|---|
Query | The AQL query to use to discover live points |
Return Value
This function returns an array of Channel objects that represent your new data channels. Their values will be updated when new information becomes available.