VI class/Control Value.Get method: Difference between revisions
Appearance
< VI class
Added new method page. |
m Category reorg |
||
| Line 69: | Line 69: | ||
{{ambox|text=Add links to external resources that would also help.}} | {{ambox|text=Add links to external resources that would also help.}} | ||
[[Category:VI Server Method]] | |||
Latest revision as of 14:19, 7 May 2020
| VI Server Method Information | |
|---|---|
| Method ID | 41C |
| Scope | Basic Development Environment |
| Data Name | Ctrl Val.Get |
| Short Name* | Ctrl Val.Get |
| Long Name* | Control Value:Get |
| * Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE. | |
| Owning Class ID | 2 |
| Owning Class Name | VI Class |
| Return Data Type | LV Variant data type |
| Invoke Node |
|
| Available in Real-Time Operating System | Yes |
| Available in Run-Time Engine | Yes (Read/Write) |
| Available with control VIs | Yes |
| Available with global VIs | Yes |
| Available with polymorphic VIs | No |
| Available with strict type definitions | No |
| Loads the block diagram into memory | No |
| Loads the front panel into memory | No |
| Must wait until user interface is idle | No |
| Need to authenticate before use | No |
| Remote access allowed | Yes |
| Settable when the VI is running | Yes |
Gets the value of a named control or indicator as variant data. Use the Variant to Data function to convert the data to another LabVIEW data type.
| Note This method requires the VI to have a front panel. If you are using the Application Builder, make sure you do not remove the front panel. |
For optimization purposes, LabVIEW does not keep track of data values on controls and indicators until LabVIEW determines you want them, that is, until you call this method or display the front panel. When you display the front panel, LabVIEW begins keeping track of the values.
The first time you call this method on a VI whose front panel is not open, this method returns the default values of the control or indicator rather than the actual values. Thereafter, it returns the actual value.
Parameters
| Data type | Name | Required | Description |
|---|---|---|---|
| Control Value:Get | Yes. Return value. | ||
| Control Name | Yes | Label of the control or indicator whose value you want. |
Uses
| |
Specific use cases for this method. |
History
| |
History information is needed. What changes have occurred over previous versions? |
| Version | Change(s) |
|---|---|
| More info to come. |
See Also
| |
Add links to internal wiki pages that would also help. |
External Links
| |
Add links to external resources that would also help. |
