LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delete or Reset Shared Variables

Hello.

Anyone have a clever way of removing or resetting Shared Variables?  Every time I run my application it "appears" to be re-deploying the shared variables, but then I many of my controls are maintaining the value b4 the application was turned off.  I saw a bit saying you could use DSC to delete shared variables which I'd be okay with because then the application would just re-deploy the variables each time.  Cuz the code is set up for "First Time Runs" that's essentially being over powered by previous shared variables. 

 

Thoughts, suggestions, white papers?

0 Kudos
Message 1 of 2
(3,371 Views)

Hi DailyDose,

 

It sounds like your shared variables are maintaining their values after you shut down your application - would it be worth having a re-initializing step that you use to set all the shared variables too whatever is appropriate to your application?

 

Regards,

 

George B.

Applications Engineer

0 Kudos
Message 2 of 2
(3,325 Views)