Jump to content

Template:VIServerProperty: Difference between revisions

From LabVIEW Wiki
m Fixed problem where extra space was showing up.
m Move documentation to subpage
 
(2 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 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
Line 45: Line 45:
|}}{{#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>
|}</includeonly><noinclude>{{documentation}}</noinclude>
<noinclude>
 
== 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>
</code>
 
where:
 
{| class="wikitable"
! Parameter
! Description
! Default
|-
| <code>classid</code>
| The Class ID of a class in the [[VI Server Class Hierarchy]].
| <code></code>
|-
| <code>propertyid</code>
| The Property ID of the property owned by the class defined by the Class ID {{{classid}}}.
| <code></code>
|-
| <code>scope</code>
| The scope of the property as either {basic, script, private, deprecated}.
| <code></code>
|-
| <code>dataname</code>
| The data name of the property.
| <code></code>
|-
| <code>shortname</code>
| The short name of the property.
| <code></code>
|-
| <code>longname</code>
| The long name of the property.
| <code></code>
|-
| <code>datatypeimage</code>
| The filename to the wiki image for the data type terminal for the property.
| <code></code>
|-
| <code>datatype</code>
| The data type of the property.
| <code></code>
|-
| <code>propertynodeimage</code>
| The filename to the wiki image for the property node for the property.
| <code></code>
|-
| <code>availableinrealtime</code>
| The value for "Available in Real-Time Operating System".
| <code></code>
|-
| <code>availableinrealtime</code>
| The value for "Available in Real-Time Operating System".
| <code></code>
|-
| <code>availableinruntime</code>
| The value for "Available in Run-Time Engine".
| <code></code>
|-
| <code>availablewithcontrolvis</code>
| The value for "Available with control VIs".
| <code></code>
|-
| <code>availablewithglobalvis</code>
| The value for "Available with global VIs".
| <code></code>
|-
| <code>availablewithpolyvis</code>
| The value for "Available with polymorphic VIs".
| <code></code>
|-
| <code>availablewithstricttypedefs</code>
| The value for "Available with strict type definitions".
| <code></code>
|-
| <code>loadsbd</code>
| The value for "Loads the block diagram into memory".
| <code></code>
|-
| <code>loadsfp</code>
| The value for "Loads the front panel into memory".
| <code></code>
|-
| <code>mustwait</code>
| The value for "Must wait until user interface is idle".
| <code></code>
|-
| <code>needsauthentication</code>
| The value for "Need to authenticate before use".
| <code></code>
|-
| <code>permissions</code>
| The value for "Permissions".
| <code></code>
|-
| <code>remoteallowed</code>
| The value for "Remote access allowed".
| <code></code>
|-
| <code>settablewhenrunning</code>
| The value for "Settable when the VI is running".
| <code></code>
|}
 
===Example===
<code>
<nowiki>
{{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
}}
</nowiki>
</code>
===Result===
<blockquote style="float: left;">
{{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
}}
</blockquote>
 
</noinclude>

Latest revision as of 17:03, 1 August 2024