From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I update a network variable once created

I created a custom control to use as a network variable, but once I create it and try to modify if, the instances to not update. Also, when I create a specific type such as two strings and two buttons, it does the machine does not allow me to create a different version of the cluster with slightly different names. How can I fix this?

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

Hi Steve,

 

In order for updates to your control to be seen in your VI, you need to save the control as either a type definition or a strict type definition. The creating custom controls link below explains what a type def is.

 

Creating Custom Controls, Indicators, and Type Definitions

https://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/custom_cont_ind_type/

 

Using the LabVIEW Shared Variable

http://www.ni.com/white-paper/4679/en/

 

As far as your second question is concerned, can you be more specific as to what you mean? Could you post a screenshot of what you're trying to do, or what error you receive?

 

Thanks

Andrew B.
Application Engineer
National Instruments.
http://www.ni.com/support
0 Kudos
Message 2 of 2
(2,306 Views)