XControl:Abilities: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 19: | Line 19: | ||
| To initialize memory, convert from previous version, load data from a previous session | | To initialize memory, convert from previous version, load data from a previous session | ||
| | | | ||
* The first time an | * The first time an XControl is added to a VI | ||
* an | * an XControl is upgraded | ||
* a VI with an XControl is opened | * a VI with an XControl is opened | ||
| Instrument (VI) | | Instrument (VI) | ||
Revision as of 19:20, 28 July 2007
Abilities
Abilities are LabVIEW files (mainly controls and VIs) that are needed of the XControl, and form the heart of the XControl
| Ability | Function | Called if/when | LabVIEW file type | Optional? |
|---|---|---|---|---|
| To initialize memory, convert from previous version, load data from a previous session |
|
Instrument (VI) | No | |
| Interface to the calling VI | NA | Control (ctl) | No | |
| Contains local data for the XControl | NA | Control (ctl) | No | |
| Contains the code running when the XControl is active | Every time an event inside the Facade VI is triggered | Instrument (VI) | No | |
| To close items allocated in Init | The XControl is unloaded from memory | Instrument (VI) | Yes | |
| Change the data that is saved inside a VI | The VI containing the XControl is saved | Instrument (VI) | Yes |