Invoke class/All Supported Methods property: Difference between revisions
Finished Table and description |
→Uses: Added to uses |
||
| Line 25: | Line 25: | ||
== Uses == | == Uses == | ||
=== Programmatic Access to All Methods === | |||
[[File:AllMeths() property.png|frame|AllMeths[] property]] | |||
Through [[VI Scripting]] the all of the methods of a given class can be seen by accessing the [[Invoke class/All Supported Methods property|All Supported Methods property]] of the [[Invoke class]]. Start by setting the [[Invoke node|invoke node]] to the desired class. Then, through scripting functions, get the reference to that invoke node and read the [[Invoke class/All Supported Methods property|All Supported Methods property]] of it. It will return an array of clusters with each element of the array representing an acceptable method of the given class or of a class in its inheritance chain. The cluster contains the following for elements about the method: | |||
*Unique ID string - This is a unique ID for the method | |||
*Data Name - This is the data name of the method | |||
*Short Name (localized) - This is the name of the method as it would appear in a invoke node in the language of the [[LabVIEW Environment Overview|LabVIEW IDE]] | |||
*Long Name (localized) - This is the name of the method as it would appear in a drop-down menus as the method was being selected and is in the language of the [[LabVIEW Environment Overview|LabVIEW IDE]] | |||
== History == | == History == | ||
Revision as of 03:54, 16 September 2019
| VI Server Property Information | |
|---|---|
| Property ID | 637040D |
| Scope | VI Scripting |
| Data Name | AllMeths[] |
| Short Name* | AllMeths[] |
| Long Name* | All Supported Methods |
| * Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE. | |
| Owning Class ID | 16420 |
| Owning Class Name | Invoke Class |
| Data Type | Common Cluster Array data type |
| Property Node | |
| Available in Real-Time Operating System | No |
| Available in Run-Time Engine | No |
| Loads the block diagram into memory | Yes |
| Loads the front panel into memory | Yes |
| Need to authenticate before use | No |
| Permissions | Read Only |
| Remote access allowed | Yes |
| Settable when the VI is running | No |
Lists all methods supported for the current class.
Some methods have a Unique ID string. The Unique ID string is consistent across all versions and locales of LabVIEW. Methods without a Unique ID string return an empty string. All methods return Data name, Short name (localized), and Long name (localized), which contain the strings shown to the user in this version and locale of LabVIEW; however, strings can vary across versions, locales, and even individual launches of LabVIEW.
Uses
Programmatic Access to All Methods

Through VI Scripting the all of the methods of a given class can be seen by accessing the All Supported Methods property of the Invoke class. Start by setting the invoke node to the desired class. Then, through scripting functions, get the reference to that invoke node and read the All Supported Methods property of it. It will return an array of clusters with each element of the array representing an acceptable method of the given class or of a class in its inheritance chain. The cluster contains the following for elements about the method:
- Unique ID string - This is a unique ID for the method
- Data Name - This is the data name of the method
- Short Name (localized) - This is the name of the method as it would appear in a invoke node in the language of the LabVIEW IDE
- Long Name (localized) - This is the name of the method as it would appear in a drop-down menus as the method was being selected and is in the language of the LabVIEW IDE
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. |