Template:VIServerPropsTable: Difference between revisions
mNo edit summary |
Editing Template to be the properties lookup table. |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#ifeq: {{{1|}}} || ''No Properties for this class.'' | | ||
{{# | <span class="mw-customtoggle-propertiestable">Show/Hide {{VIServerGetClassName|{{{1}}}}} Properties Table</span> | ||
<span class="mw-customtoggle-propertiestable">Show/Hide {{{1}}} Properties Table</span> | |||
<div class="mw-collapsible" id="mw-customcollapsible-propertiestable"> | <div class="mw-collapsible" id="mw-customcollapsible-propertiestable"> | ||
{{VIServerLegend|showrw=TRUE|showrte=TRUE}} | {{VIServerLegend|showrw=TRUE|showrte=TRUE}} | ||
{{{!}} class="wikitable sortable" | {{{!}} class="wikitable sortable" | ||
{{!}}+ | {{!}}+ {{VIServerGetClassName|{{{1}}}}} Properties Table | ||
! Property ID | ! Property ID | ||
! | ! Long Name (English) | ||
! Description | ! Description | ||
! R/W | ! R/W | ||
! RTE | ! RTE | ||
{{{2}}} | {{!}}- | ||
{{#ifeq: {{{1|}}} | 1 | <tr style="background-color:#FFFFCC;"><td>0</td><td>[[Application:Name property{{!}}Application:Name]]</td><td>Filename of the application.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 1 | <tr style="background-color:#FFFFCC;"><td>1</td><td>[[Application:User Name property{{!}}Application:User Name]]</td><td>User name used to open the application.</td><td>R/W</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 1 | <tr style="background-color:#FFFFCC;"><td>2</td><td>[[Application:Version property{{!}}Application:Version]]</td><td>Version number of the application. In a stand-alone application or shared library, this property returns the version of the LabVIEW Run-Time Engine.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 1 | <tr style="background-color:#FFFFCC;"><td>3</td><td>[[Application:Kind property{{!}}Application:Kind]]</td><td>Indicates the LabVIEW instance the VI is running in, including invalid application types.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 1 | <tr style="background-color:#FFFFCC;"><td>4</td><td>[[Application:Target:Operating System property{{!}}Application:Target:Operating System]]</td><td>Indicates the operating system for which the application was built.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 1 | <tr style="background-color:#FFFFCC;"><td>5</td><td>[[Application:Target:CPU property{{!}}Application:Target:CPU]]</td><td>Indicates the target CPU of an application.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 1 | <tr style="background-color:#FFFFCC;"><td>6</td><td>[[Operating System:Name property{{!}}Operating System:Name]]</td><td>Name of the operating system where the application is actually running.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 2 | <tr style="background-color:#FFFFCC;"><td>1F4</td><td>[[VI Name property{{!}}VI Name]]</td><td>Name of the VI file. If a LabVIEW project library owns the VI, the property returns the qualified name of the VI, which includes the project library filename.</td><td>R/W</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 2 | <tr style="background-color:#FFFFCC;"><td>1F5</td><td>[[VI Path property{{!}}VI Path]]</td><td>Path to the VI file.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 2 | <tr style="background-color:#FFFFCC;"><td>1F6</td><td>[[VI Description property{{!}}VI Description]]</td><td>Description of the VI that appears in the Context Help window when you move the cursor over the VI icon and in VI documentation you generate.</td><td>R/W</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 3 | <tr style="background-color:#FFFFCC;"><td>6327800</td><td>[[Class ID property{{!}}Class ID]]</td><td>Class identifier of the object.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 3 | <tr style="background-color:#FFAAAA;"><td>6327801</td><td>Owner (Deprecated)</td><td>Reference to the owning object.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 3 | <tr style="background-color:#FFFFCC;"><td>6327802</td><td>[[Owning VI property{{!}}Owning VI]]</td><td>Returns a reference to the VI that owns this object.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 3 | <tr style="background-color:#FFFFCC;"><td>6327803</td><td>[[Class Name property{{!}}Class Name]]</td><td>Name of the VI Server class that contains the object.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 3 | <tr style="background-color:#D1BB80;"><td>6327804</td><td>[[Modified property{{!}}Modified ]]</td><td>Property pages use this for generic get/set of properties.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 3 | <tr style="background-color:#CCFFFF;"><td>6327805</td><td>[[Is On Block Diagram? property{{!}}Is On Block Diagram?]]</td><td>Returns TRUE when the object is located on the block diagram.</td><td>R</td><td>X</td></tr> | |||
|}}{{#ifeq: {{{1|}}} | 3 | <tr style="background-color:#FFFFCC;"><td>6327806</td><td>[[Owner property{{!}}Owner]]</td><td>Reference to the owning object.</td><td>R</td><td>X</td></tr> | |||
|}} | |||
{{!}}} | {{!}}} | ||
</div> | </div> | ||
}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 20: | Line 37: | ||
== Usage == | == Usage == | ||
This template contains a lookup table for all of the properties It is used in the [[VI Server Class Hierarchy]] class pages. The parameter is either the Class ID number where the list is then filtered to properties of that class, or the parameter is left blank to signify this class has no properties. | |||
{| class="wikitable" | {| class="wikitable" | ||
| Line 28: | Line 45: | ||
|- | |- | ||
| <code>{{{1}}}</code> | | <code>{{{1}}}</code> | ||
| The class | | The class ID. | ||
| <code> | | <code>Blank - Translates into message: ''No Properties for this class.''</code> | ||
|} | |} | ||
| Line 43: | Line 56: | ||
</nowiki> | </nowiki> | ||
</code> | </code> | ||
{{VIServerPropsTable}} | {{VIServerPropsTable}} | ||
'''Example: Properties Exist - Application Class''' | |||
'''Example: Properties Exist''' | |||
<code> | <code> | ||
<nowiki> | <nowiki> | ||
{{VIServerPropsTable| | {{VIServerPropsTable|1}} | ||
{{ | </nowiki> | ||
</code> | |||
{{VIServerPropsTable|1}} | |||
'''Example: Properties Exist - VI Class''' | |||
<code> | |||
}} | <nowiki> | ||
{{VIServerPropsTable|2}} | |||
</nowiki> | </nowiki> | ||
</code> | </code> | ||
{{VIServerPropsTable|2}} | |||
'''Example: | '''Example: Properties Exist - Generic Class''' | ||
<code> | <code> | ||
<nowiki> | <nowiki> | ||
{{VIServerPropsTable| | {{VIServerPropsTable|3}} | ||
}} | |||
</nowiki> | </nowiki> | ||
</code> | </code> | ||
{{VIServerPropsTable|3}} | |||
</noinclude> | </noinclude> | ||
Revision as of 16:23, 6 September 2019
| |
This page is under construction. This page or section is currently in the middle of an expansion or major revamping. However, you are welcome to assist in its construction by editing it as well. Please view the edit history should you wish to contact the person who placed this template. If this article has not been edited in several days please remove this template. Please don't delete this page unless the page hasn't been edited in several days. While actively editing, consider adding {{inuse}} to reduce edit conflicts. |
Usage
This template contains a lookup table for all of the properties It is used in the VI Server Class Hierarchy class pages. The parameter is either the Class ID number where the list is then filtered to properties of that class, or the parameter is left blank to signify this class has no properties.
| Parameter | Description | Default |
|---|---|---|
{{{1}}}
|
The class ID. | Blank - Translates into message: No Properties for this class.
|
Example: No Properties Exists
{{VIServerPropsTable}}
No Properties for this class.
Example: Properties Exist - Application Class
{{VIServerPropsTable|1}}
Show/Hide Application Properties Table
| Legend | |
|---|---|
| R/W | Readable/Writable Permissions |
| RTE | Available in the Run-Time Engine |
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated | |
| Property ID | Long Name (English) | Description | R/W | RTE |
|---|---|---|---|---|
| 0 | Application:Name | Filename of the application. | R | X |
| 1 | Application:User Name | User name used to open the application. | R/W | X |
| 2 | Application:Version | Version number of the application. In a stand-alone application or shared library, this property returns the version of the LabVIEW Run-Time Engine. | R | X |
| 3 | Application:Kind | Indicates the LabVIEW instance the VI is running in, including invalid application types. | R | X |
| 4 | Application:Target:Operating System | Indicates the operating system for which the application was built. | R | X |
| 5 | Application:Target:CPU | Indicates the target CPU of an application. | R | X |
| 6 | Operating System:Name | Name of the operating system where the application is actually running. | R | X |
Example: Properties Exist - VI Class
{{VIServerPropsTable|2}}
Show/Hide VI Properties Table
| Legend | |
|---|---|
| R/W | Readable/Writable Permissions |
| RTE | Available in the Run-Time Engine |
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated | |
| Property ID | Long Name (English) | Description | R/W | RTE |
|---|---|---|---|---|
| 1F4 | VI Name | Name of the VI file. If a LabVIEW project library owns the VI, the property returns the qualified name of the VI, which includes the project library filename. | R/W | X |
| 1F5 | VI Path | Path to the VI file. | R | X |
| 1F6 | VI Description | Description of the VI that appears in the Context Help window when you move the cursor over the VI icon and in VI documentation you generate. | R/W | X |
Example: Properties Exist - Generic Class
{{VIServerPropsTable|3}}
Show/Hide Generic Properties Table
| Legend | |
|---|---|
| R/W | Readable/Writable Permissions |
| RTE | Available in the Run-Time Engine |
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated | |
| Property ID | Long Name (English) | Description | R/W | RTE |
|---|---|---|---|---|
| 6327800 | Class ID | Class identifier of the object. | R | X |
| 6327801 | Owner (Deprecated) | Reference to the owning object. | R | X |
| 6327802 | Owning VI | Returns a reference to the VI that owns this object. | R | X |
| 6327803 | Class Name | Name of the VI Server class that contains the object. | R | X |
| 6327804 | Modified | Property pages use this for generic get/set of properties. | R | X |
| 6327805 | Is On Block Diagram? | Returns TRUE when the object is located on the block diagram. | R | X |
| 6327806 | Owner | Reference to the owning object. | R | X |
