LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reset all net single process variables

Hi all,

 

I was wondering whether there is a way to programmatically initialise to False (or whatever the default is) all Net and Single Process Variables of a cRIO project..

 

I mean something like the re-initialise all to default invoke method, which is applicable for standard VIs.

 

Regards,

Harry

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

Hi Harry,

 

It doesn't look like there is a single VI shortcut for reinitializing shared variables. Since you can't write to multiple variables with a single Write VI, you may have to iterate through and update each variable to its default.

Hope this helps,

Fred Visser -- SystemLink R&D -- National Instruments
0 Kudos
Message 2 of 3
(2,374 Views)

Fred,

 

thanks for the reply. I ll follow your advice..

 

Cheers,

Harry

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