config:remotecontrol:emberplus
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
config:remotecontrol:emberplus [2016/09/06 09:19] – [Commands] tw | config:remotecontrol:emberplus [2019/07/09 16:18] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 53: | Line 53: | ||
===== Scripting ===== | ===== Scripting ===== | ||
+ | The Ember+ remote control provides a script extension that can be used to send parameter updates to the Ember+ provider from a script. | ||
+ | |||
+ | The remotes are accessed by the following function: | ||
+ | |||
+ | function EmberPlusConsumerRemote(iIndex: | ||
+ | |||
+ | Remotes are 0-based, so '' | ||
+ | |||
+ | procedure SetParameterValue(iIDPath: | ||
+ | |||
+ | '' | ||
+ | |||
+ | Example: | ||
+ | |||
+ | EmberPlusConsumerRemote(0).SetParameterValue('/ | ||
+ | |||
+ | Note that the value is always given as a string, mAirList will automatically convert it to the correct type. Use ''' | ||
+ | |||
+ | Important notice: mAirList fetches the entire parameter tree from the provider. This is an asynchronous operation, and depending on the size of the tree, it can take a few seconds until the entire tree is known to mAirList. If you try to set a parameter that has not been fetched yet (e.g. in an '' |
config/remotecontrol/emberplus.txt · Last modified: 2020/02/27 10:25 by tw