Jump to content

XControl:Abilities: Difference between revisions

From LabVIEW Wiki
mNo edit summary
m Abilities: Typo
 
(6 intermediate revisions by 2 users not shown)
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 Xcontrol is added to a VI
* The first time an XControl is added to a VI
* an Xcontrol is upgraded
* An XControl is upgraded
* a VI with an XControl is opened
* A VI with an XControl is opened
| Instrument (VI)
| Instrument (VI)
| No
| No
Line 61: Line 61:
| Yes
| Yes
|}
|}
[[Category:XControl|Abilities|Abilities]]
[[category:lists]]

Latest revision as of 16:50, 18 February 2008

Abilities

Abilities are LabVIEW files (mainly controls and VIs) that are needed of the XControl, and form the heart of the XControl

XControl abilities
Ability Function Called if/when LabVIEW file type Optional?

Init

To initialize memory, convert from previous version, load data from a previous session
  • The first time an XControl is added to a VI
  • An XControl is upgraded
  • A VI with an XControl is opened
Instrument (VI) No

Data

Interface to the calling VI NA Control (ctl) No

State

Contains local data for the XControl NA Control (ctl) No

Facade

Contains the code running when the XControl is active Every time an event inside the Facade VI is triggered Instrument (VI) No

Uninit

To close items allocated in Init The XControl is unloaded from memory Instrument (VI) Yes

Convert state for save

Change the data that is saved inside a VI The VI containing the XControl is saved Instrument (VI) Yes