LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing shared variable reference modes for all nodes in application. Shortcut?

I have a large application which makes extensive use of both network-published and single-process shared variables.  I want to change the reference mode of every such node in the application from absolute to target-relative.  Is there any way to do this without having to open every subVI in the application and use the right-click menu on every node?

 

Sean

 

0 Kudos
Message 1 of 2
(2,884 Views)

I don't know of any shortcut, but if you want to change the reference node of everything in the application you could probably script it.  I was thinking something similar to what I have below where you traverse the BD of a specific VI for all SharedVariableNodes and change the relative mode to Target Relative.

 

target sv.JPG

Depending on how your project is organized you can add some additional functionality before the open VI reference to go through and open the reference of every VI in your project.

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 2
(2,859 Views)