Jump to content

Constant class/Change to Shared Variable Node 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 Shared Variable Node
| shortname = Change to Shared Variable Node
| longname = Change to Shared Variable Node
| longname = Change to Shared Variable Node
| datatypeimage = LVClassBDConst Refnum Indicator.png
| datatypeimage = SharedVariableNode Refnum Indicator.png
| datatype = LVClassBDConst Refnum
| datatype = SharedVariableNode Refnum
| invokenodeimage = Constant-Change to Shared Variable Node.png
| invokenodeimage = Constant-Change to Shared Variable Node.png
| availableinrealtime = No
| availableinrealtime = No
Line 27: Line 27:
! 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:SharedVariableNode Refnum Indicator.png|frameless|border|SharedVariableNode Refnum|link=SharedVariableNode Refnum data type]]
| '''Change to Shared Variable Node'''
| '''Change to Shared Variable Node'''
| Yes. Return value.  
| Yes. Return value.  
Line 55: Line 55:
== 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:27, 7 May 2020

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

SharedVariableNode Refnum

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

Changes the constant to a Shared Variable node and returns a reference to the Shared Variable node. If you do not specify a shared variable to bind to the node, LabVIEW creates a new shared variable. LabVIEW automatically closes the reference to the constant.

Parameters

Data type Name Required Description
SharedVariableNode Refnum Change to Shared Variable Node Yes. Return value.
ProjectItem Refnum Variable Project Item No Specifies a reference to the shared variable you want to bind to the Shared Variable node.

Uses

History

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

See Also

External Links