Template:VIServerProperty: Difference between revisions
mNo edit summary |
m Move documentation to subpage |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="float: | <includeonly>{| class="wikitable" style="float:left; margin-right: 20px;" | ||
! colspan="2" | VI Server Property Information | ! colspan="2" | VI Server Property Information | ||
|- | |- | ||
| Line 27: | Line 27: | ||
! scope="row" style="text-align:left;" | Data Type | ! scope="row" style="text-align:left;" | Data Type | ||
| [[{{{datatype}}} data type]] | | [[{{{datatype}}} data type]] | ||
[[File:{{{datatypeimage}}}|frameless|border|{{{datatype}}}|link={{{datatype}}}]] | [[File:{{{datatypeimage}}}|frameless|border|{{{datatype}}}|link={{{datatype}}} data type]] | ||
|- | |- | ||
! scope="row" style="text-align:left;" | Property Node | ! scope="row" style="text-align:left;" | Property Node | ||
| [[File:{{{propertynodeimage}}}|frameless|border|{{{longname}}}]] | | [[File:{{{propertynodeimage}}}|frameless|border|{{{longname}}}]] | ||
{{#if: {{{availableinrealtime|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available in Real-Time Operating System</b></td><td>{{{availableinrealtime}}}</td></tr> | |||
{{#if: {{{availableinrealtime|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available in Real-Time Operating System</b></td><td>{{{availableinrealtime}}}</td></tr>|}} | |}}{{#if: {{{availableinruntime|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available in Run-Time Engine</b></td><td>{{{availableinruntime}}}</td></tr> | ||
{{#if: {{{availableinruntime|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available in Run-Time Engine</b></td><td>{{{availableinruntime}}}</td></tr>|}} | |}}{{#if: {{{availablewithcontrolvis|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available with control VIs</b></td><td>{{{availablewithcontrolvis}}}</td></tr> | ||
{{#if: {{{availablewithcontrolvis|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available with control VIs</b></td><td>{{{availablewithcontrolvis}}}</td></tr>|}} | |}}{{#if: {{{availablewithglobalvis|}}} |<tr><td style="background-color:#EAECF0; text-align:left;"><b>Available with global VIs</b></td><td>{{{availablewithglobalvis}}}</td></tr> | ||
{{#if: {{{availablewithglobalvis|}}} |<tr><td style="background-color:#EAECF0; text-align:left;"><b>Available with global VIs</b></td><td>{{{availablewithglobalvis}}}</td></tr>|}} | |}}{{#if: {{{availablewithpolyvis|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available with polymorphic VIs</b></td><td>{{{availablewithpolyvis}}}</td></tr> | ||
{{#if: {{{availablewithpolyvis|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available with polymorphic VIs</b></td><td>{{{availablewithpolyvis}}}</td></tr>|}} | |}}{{#if: {{{availablewithstricttypedefs|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available with strict type definitions</b></td><td>{{{availablewithstricttypedefs}}}</td></tr> | ||
{{#if: {{{availablewithstricttypedefs|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available with strict type definitions</b></td><td>{{{availablewithstricttypedefs}}}</td></tr>|}} | |}}{{#if: {{{loadsbd|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Loads the block diagram into memory</b></td><td>{{{loadsbd}}}</td></tr> | ||
{{#if: {{{loadsbd|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Loads the block diagram into memory</b></td><td>{{{loadsbd}}}</td></tr>|}} | |}}{{#if: {{{loadsfp|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Loads the front panel into memory</b></td><td>{{{loadsfp}}}</td></tr> | ||
{{#if: {{{loadsfp|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Loads the front panel into memory</b></td><td>{{{loadsfp}}}</td></tr>|}} | |}}{{#if: {{{mustwait|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Must wait until user interface is idle</b></td><td>{{{mustwait}}}</td></tr> | ||
{{#if: {{{mustwait|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Must wait until user interface is idle</b></td><td>{{{mustwait}}}</td></tr>|}} | |}}{{#if: {{{needsauthentication|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Need to authenticate before use</b></td><td>{{{needsauthentication}}}</td></tr> | ||
{{#if: {{{needsauthentication|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Need to authenticate before use</b></td><td>{{{needsauthentication}}}</td></tr>|}} | |}}{{#if: {{{permissions|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Permissions</b></td><td>{{{permissions}}}</td></tr> | ||
{{#if: {{{permissions|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Permissions</b></td><td>{{{permissions}}}</td></tr>|}} | |}}{{#if: {{{remoteallowed|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Remote access allowed</b></td><td>{{{remoteallowed}}}</td></tr> | ||
{{#if: {{{remoteallowed|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Remote access allowed</b></td><td>{{{remoteallowed}}}</td></tr>|}} | |}}{{#if: {{{settablewhenrunning|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Settable when the VI is running</b></td><td>{{{settablewhenrunning}}}</td></tr> | ||
{{#if: {{{settablewhenrunning|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Settable when the VI is running</b></td><td>{{{settablewhenrunning}}}</td></tr> | |||
|}} | |}} | ||
|}</includeonly><noinclude>{{documentation}}</noinclude> | |||
</noinclude> | |||
Latest revision as of 17:03, 1 August 2024
Usage
Use this template is to create the Property Information table in VI Server property pages.
Syntax is as follows:
{{VIServerProperty
| classid =
| propertyid =
| scope =
| dataname =
| shortname =
| longname =
| datatypeimage =
| datatype =
| propertynodeimage =
| availableinrealtime =
| availableinruntime =
| availablewithcontrolvis =
| availablewithglobalvis =
| availablewithpolyvis =
| availablewithstricttypedefs =
| loadsbd =
| loadsfp =
| mustwait =
| needsauthentication =
| permissions =
| remoteallowed =
| settablewhenrunning =
|}}
where:
| Parameter | Description | Default |
|---|---|---|
classid
|
The Class ID of a class in the VI Server Class Hierarchy. |
|
propertyid
|
The Property ID of the property owned by the class defined by the Class ID {{{classid}}}. |
|
scope
|
The scope of the property as either {basic, script, private, deprecated}. |
|
dataname
|
The data name of the property. |
|
shortname
|
The short name of the property. |
|
longname
|
The long name of the property. |
|
datatypeimage
|
The filename to the wiki image for the data type terminal for the property. |
|
datatype
|
The data type of the property. |
|
propertynodeimage
|
The filename to the wiki image for the property node for the property. |
|
availableinrealtime
|
The value for "Available in Real-Time Operating System". |
|
availableinrealtime
|
The value for "Available in Real-Time Operating System". |
|
availableinruntime
|
The value for "Available in Run-Time Engine". |
|
availablewithcontrolvis
|
The value for "Available with control VIs". |
|
availablewithglobalvis
|
The value for "Available with global VIs". |
|
availablewithpolyvis
|
The value for "Available with polymorphic VIs". |
|
availablewithstricttypedefs
|
The value for "Available with strict type definitions". |
|
loadsbd
|
The value for "Loads the block diagram into memory". |
|
loadsfp
|
The value for "Loads the front panel into memory". |
|
mustwait
|
The value for "Must wait until user interface is idle". |
|
needsauthentication
|
The value for "Need to authenticate before use". |
|
permissions
|
The value for "Permissions". |
|
remoteallowed
|
The value for "Remote access allowed". |
|
settablewhenrunning
|
The value for "Settable when the VI is running". |
|
Example
{{VIServerProperty| classid = 36
| propertyid = 632A813
| scope = script
| dataname = UID
| shortname = UID
| longname = UID
| datatypeimage = I32.png
| datatype = I32
| propertynodeimage = GObject-UID.png
| availableinrealtime = Yes
| availableinruntime = Yes
| loadsbd = No
| loadsfp = No
| needsauthentication = No
| permissions = Read Only
| remoteallowed = Yes
| settablewhenrunning = No
}}
Result
VI Server Property Information Property ID 632A813 Scope VI Scripting Data Name UID Short Name* UID Long Name* UID * Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE. Owning Class ID 36 Owning Class Name GObject Class Data Type I32 data type Property Node ![]()
Available in Real-Time Operating System Yes Available in Run-Time Engine Yes Loads the block diagram into memory No Loads the front panel into memory No Need to authenticate before use No Permissions Read Only Remote access allowed Yes Settable when the VI is running No