Jump to content

Template:VIServerPropsTable: Difference between revisions

From LabVIEW Wiki
m Changed Examples
Changed behavior using VIServerHasProperties lookup
Line 1: Line 1:
<includeonly>{{#ifeq: {{{1|}}} || ''No Properties for this class.'' |
<includeonly>{{#ifeq: {{VIServerHasProperties|{{{1}}}}} | FALSE | ''No Properties for this class.'' |<span class="mw-customtoggle-propertiestable">Show/Hide {{VIServerGetClassName|{{{1}}}}} Properties Table</span>
<span class="mw-customtoggle-propertiestable">Show/Hide {{VIServerGetClassName|{{{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}}
Line 2,668: Line 2,667:
|}}{{#ifeq: {{{1|}}} | 51 | <tr style="background-color:#FFFFCC;"><td>E67CB803</td><td>[[IVILogicalName class/Value (Signaling) property{{!}}Value (Signaling)]]</td><td>Sets the value of the control and generates a Value Change event.</td><td>Write Only</td><td>Yes </td></tr>
|}}{{#ifeq: {{{1|}}} | 51 | <tr style="background-color:#FFFFCC;"><td>E67CB803</td><td>[[IVILogicalName class/Value (Signaling) property{{!}}Value (Signaling)]]</td><td>Sets the value of the control and generates a Value Change event.</td><td>Write Only</td><td>Yes </td></tr>
|}}
|}}
{{!}}}
{{!}}}</div>}}</includeonly>
</div>
}}
</includeonly>
<noinclude>
<noinclude>
{{underconstruction}}
{{underconstruction}}
Line 2,688: Line 2,684:
|}
|}


'''Example: No Properties Exists'''
'''Example: No Properties Exists - {{VIServerGetClassName|10}} Class'''


<code>
<code>
<nowiki>
<nowiki>
{{VIServerPropsTable}}
{{VIServerPropsTable|10}}
</nowiki>
</nowiki>
</code>
</code>


{{VIServerPropsTable}}
{{VIServerPropsTable|10}}
 


'''Example: Properties Exist - Generic Class'''
'''Example: Properties Exist - {{VIServerGetClassName|3}} Class'''


<code>
<code>
Line 2,705: Line 2,702:
</nowiki>
</nowiki>
</code>
</code>


{{VIServerPropsTable|3}}
{{VIServerPropsTable|3}}


'''Example: Passing a null value.'''


'''Example: Properties Exist - GObject Class'''
''Passing a null value defaults to no properties.''  


<code>
<code>
<nowiki>
<nowiki>
{{VIServerPropsTable|36}}
{{VIServerPropsTable}}
</nowiki>
</nowiki>
</code>
</code>


 
{{VIServerPropsTable}}
{{VIServerPropsTable|36}}
 
 
'''Example: Properties Exist - {{VIServerGetClassName|85}} Class'''
 
<code>
<nowiki>
{{VIServerPropsTable|85}}
</nowiki>
</code>
 
 
{{VIServerPropsTable|85}}
 


</noinclude>
</noinclude>

Revision as of 05:32, 8 September 2019


Usage

This template contains a lookup table for all of the properties. It is used in the VI Server Class Hierarchy class pages to display the properties tables. 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 - LVVariant Class

{{VIServerPropsTable|10}}

No Properties for this class.


Example: Properties Exist - Generic Class

{{VIServerPropsTable|3}}

Show/Hide Generic Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
Generic Properties Table
Property ID Long Name (English) Description R/W RTE
6327800Class IDClass identifier of the object.Read OnlyYes (Read Only)
6327801Owner (Deprecated)Read OnlyYes
6327802Owning VIReturns a reference to the VI that owns this object. Close this reference when you are finished using it. The reference this property returns does not keep the VI in memory. If the owning VI is removed from memory, this reference becomes invalid. Use the Open VI Reference function to obtain a reference to a VI that stays in memory until you explicitly close the reference.Read OnlyYes (Read Only)
6327803Class NameName of the VI Server class that contains the object.Read OnlyYes (Read Only)
6327804ModifiedRead OnlyYes
6327805Is On Block Diagram?Returns TRUE when the object is located on the block diagram.Read OnlyYes
6327806OwnerReference to the owning object. The type of the reference is Generic. An object of class Panel does not have an owner (it is the top-level object) and always returns Not A Refnum.Read OnlyYes (Read Only)


Example: Passing a null value.

Passing a null value defaults to no properties.

{{VIServerPropsTable}}

No Properties for this class.