Jump to content

SharedVariableNode class/Change to Constant method: Difference between revisions

From LabVIEW Wiki
Added new method page.
 
m Added VI Scripting Method Category to page
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
| shortname = Change to Constant
| shortname = Change to Constant
| longname = Change to Constant
| longname = Change to Constant
| datatypeimage = LVClassBDConst Refnum Indicator.png
| datatypeimage = Constant Refnum Indicator.png
| datatype = LVClassBDConst Refnum
| datatype = Constant Refnum
| invokenodeimage = SharedVariableNode-Change to Constant.png
| invokenodeimage = SharedVariableNode-Change to Constant.png
| availableinrealtime = No
| availableinrealtime = No
Line 28: Line 28:
! scope="column" style="text-align:Left;" | Description
! scope="column" style="text-align:Left;" | Description
|-
|-
! scope="row" style="text-align:Center;" | [[File:LVClassBDConst Refnum Indicator.png|frameless|border|LVClassBDConst Refnum|link=LVClassBDConst Refnum data type]]
! scope="row" style="text-align:Center;" | [[File:Constant Refnum Indicator.png|frameless|border|Constant Refnum|link=Constant Refnum data type]]
| '''Change to Constant'''
| '''Change to Constant'''
| Yes. Return value.  
| Yes. Return value.  
Line 51: Line 51:
== External Links ==
== External Links ==
{{ambox|text=Add links to external resources that would also help.}}
{{ambox|text=Add links to external resources that would also help.}}
[[Category:VI Scripting Method]]


[[Category:Method]] [[Category:VI Server Method]]
[[Category:VI Server Method]]

Latest revision as of 22:33, 7 May 2020

VI Server Method Information
Method ID 55D4AC02
Scope VI Scripting
Data Name Change to Constant
Short Name* Change to Constant
Long Name* Change to Constant
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 16512
Owning Class Name SharedVariableNode Class
Return Data Type Constant Refnum data type

Constant Refnum

Invoke Node Change to Constant
Available in Real-Time Operating SystemNo
Available in Run-Time EngineNo
Loads the block diagram into memoryYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningNo

Changes the shared variable node to a constant and returns a reference to the constant. LabVIEW automatically closes the reference to the shared variable node.

Parameters

Data type Name Required Description
Constant Refnum Change to Constant Yes. Return value.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links