Jump to content

Template:VIServerProperty: Difference between revisions

From LabVIEW Wiki
Defining Lookup Tables
m Move documentation to subpage
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float:right; margin-left: 20px;"
<includeonly>{| class="wikitable" style="float:left; margin-right: 20px;"
! colspan="2" | VI Server Property Information
! colspan="2" | VI Server Property Information
|-
| colspan="2" style="text-align:center;" | Return to '''[[{{VIServerGetClassName|{{{1}}}}} class|{{VIServerGetClassName|{{{1}}}}} Class]]'''
|-  
|-  
! scope="row" style="text-align:left;" | Property ID
! scope="row" style="text-align:left;" | Property ID
| {{{2}}}
| {{{propertyid}}}
|- {{#switch: {{VIServerGetPropertyType|{{{2}}}}} | basic = style="background-color:#FFFFCC;" | script = style="background-color:#CCFFFF;" | private = style="background-color:#D1BB80;" | deprecated = style="background-color:#FFAAAA;"}}
|- {{#switch: {{{scope}}} | basic = style="background-color:#FFFFCC;" | script = style="background-color:#CCFFFF;" | private = style="background-color:#D1BB80;" | deprecated = style="background-color:#FFAAAA;" }}
! scope="row" style="text-align:left;" | Scope
! scope="row" {{#switch: {{{scope}}} | basic = style="background-color:#FFFFCC; | script = style="background-color:#CCFFFF; | private = style="background-color:#D1BB80; | deprecated = style="background-color:#FFAAAA; }}text-align:left;" | Scope
| {{VIServerGetPropertyType|{{{2}}}}}{{#switch: {{VIServerGetPropertyType|{{{2}}}}} | basic = [[VI Server#Basic Development Environment|Basic Development Environment]] | script = [[VI Server#VI Scripting|VI Scripting]] | private = [[VI Server#Private|Private]] | deprecated = [[VI Server#Deprecated|Deprecated]]}}
| {{#switch: {{{scope}}} | basic = [[VI Server#Basic Development Environment|Basic Development Environment]] | script = [[VI Server#VI Scripting|VI Scripting]] | private = [[VI Server#Private|Private]] | deprecated = [[VI Server#Deprecated|Deprecated]]}}
|-
|-
! scope="row" style="text-align:left;" | Data Name
! scope="row" style="text-align:left;" | Data Name
| {{VIServerGetPropertyDataName|{{{2}}}}}
| {{{dataname}}}
|-  
|-  
! scope="row" style="text-align:left;" | Short Name<sup>*</sup>
! scope="row" style="text-align:left;" | Short Name<sup>*</sup>
| {{VIServerGetPropertyShortName|{{{2}}}}}
| {{{shortname}}}
|-
|-
! scope="row" style="text-align:left;" | Long Name<sup>*</sup>
! scope="row" style="text-align:left;" | Long Name<sup>*</sup>
| {{VIServerGetPropertyLongName|{{{2}}}}}
| {{{longname}}}
|-
|-
| colspan="2" style="text-align:left; font-size: 0.75em;" |* Displayed here in English.  Short and Long names appear in the language of the LabVIEW IDE.
| colspan="2" style="text-align:left; font-size: 0.75em;" |* Displayed here in English.  Short and Long names appear in the language of the LabVIEW IDE.
|-
! scope="row" style="text-align:left;" | Owning Class ID
| [[{{VIServerGetClassName|{{{classid}}}}} class|{{{classid}}}]]
|-
! scope="row" style="text-align:left;" | Owning Class Name
| [[{{VIServerGetClassName|{{{classid}}}}} class|{{VIServerGetClassName|{{{classid}}}}} Class]]
|-
|-
! scope="row" style="text-align:left;" | Data Type
! scope="row" style="text-align:left;" | Data Type
| {{VIServerGetPropertyDataImage|{{{2}}}}}
| [[{{{datatype}}} data type]]
{{VIServerGetPropertyDataType|{{{2}}}}}
[[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
| {{VIServerGetPropertyNodeImage|{{{2}}}}}
| [[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>
</includeonly>
|}}{{#if: {{{availableinruntime|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available in Run-Time Engine</b></td><td>{{{availableinruntime}}}</td></tr>
<noinclude>
|}}{{#if: {{{availablewithcontrolvis|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Available with control VIs</b></td><td>{{{availablewithcontrolvis}}}</td></tr>
{{underconstruction}}
|}}{{#if: {{{availablewithglobalvis|}}} |<tr><td style="background-color:#EAECF0; text-align:left;"><b>Available with global VIs</b></td><td>{{{availablewithglobalvis}}}</td></tr>
== Usage ==
|}}{{#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>
Use this template is to create the Property Information table in [[VI Server]] property pages.
|}}{{#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>
Syntax is as follows:
|}}{{#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>
<code>
|}}{{#if: {{{permissions|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Permissions</b></td><td>{{{permissions}}}</td></tr>
<nowiki>
|}}{{#if: {{{remoteallowed|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Remote access allowed</b></td><td>{{{remoteallowed}}}</td></tr>
{{VIServerProperty|{{{1}}}|{{{2}}}}}
|}}{{#if: {{{settablewhenrunning|}}} | <tr><td style="background-color:#EAECF0; text-align:left;"><b>Settable when the VI is running</b></td><td>{{{settablewhenrunning}}}</td></tr>
</nowiki>
|}}
</code>
|}</includeonly><noinclude>{{documentation}}</noinclude>
 
where:
 
{| class="wikitable"
! Parameter
! Description
! Default
|-
| <code>{{{1}}}</code>
| The Class ID of a class in the [[VI Server Class Hierarchy]].
| <code></code>
|-
| <code>{{{2}}}</code>
| The Property ID of a property owned by the class defined by the Class ID {{{1}}}.
| <code></code>
|}
 
'''Example'''
 
<code>
<nowiki>
{{VIServerProperty|36|632A813}}
</nowiki>
</code>
 
<blockquote style="float: left;">
{{VIServerProperty|36|632A813}}
</blockquote>
 
</noinclude>

Latest revision as of 17:03, 1 August 2024