Jump to content

Template:VIServerProperty: Difference between revisions

From LabVIEW Wiki
mNo edit summary
m Move documentation to subpage
 
(7 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
|-  
|-  
Line 26: Line 26:
|-
|-
! scope="row" style="text-align:left;" | Data Type
! scope="row" style="text-align:left;" | Data Type
| {{{datatypeimage}}}
| [[{{{datatype}}} data type]]
{{{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
<!--Other Optional Parameters-->
| [[File:{{{propertynodeimage}}}|frameless|border|{{{longname}}}]]
| {{{propertynodeimage}}}
{{#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>
{{underconstruction}}
== Usage ==
 
Use this template is to create the Property Information table in [[VI Server]] property pages.
 
Syntax is as follows:
 
<code>
<nowiki>
{{VIServerProperty
| classid=
| propertyid=
| scope=
| dataname=
| shortname=
| longname=
| datatypeimage=
| datatype=
| propertynodeimage=
| availableinrealtime=
| availableinruntime=
| availablewithcontrolvis=
| availablewithglobalvis=
| availablewithpolyvis=
| availablewithstricttypedefs=
| loadsbd=
| loadsfp=
| mustwait=
| needsauthentication=
| permissions=
| remoteallowed=
| settablewhenrunning=
|}}
|}}
</nowiki>
|}</includeonly><noinclude>{{documentation}}</noinclude>
</code>
 
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|classid=36|propertyid=632A813}}
</nowiki>
</code>
 
<blockquote style="float: left;">
{{VIServerProperty| classid = 36
| propertyid = 632A813
| scope = script
| dataname = UID
| shortname = UID
| longname = UID
| datatypeimage = I32.png
| datatype = I32
| propertynodeimage = UID.png
| availableinrealtime = Yes
| availableinruntime = Yes
| loadsbd = No
| loadsfp = No
| needsauthentication = No
| permissions = Read Only
| remoteallowed = Yes
| settablewhenrunning = No
}}
</blockquote>
 
</noinclude>

Latest revision as of 17:03, 1 August 2024