ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re-initialize to default while running

I want to re-initialize all front panel objects to their default values while the vi is running.  I am using this to clear displays, empty arrays, etc. before the next time the vi runs.  I know how to do this object-by-object.  I would like to do it in one swell foop.  The vi is all by itself (i.e.: not called by another).
 
Roy
0 Kudos
Message 1 of 2
(6,584 Views)
Actually this is fairly simple. You just have to open a reference to the front panel and then use an invoke node with the methode "Reinitialize All to Default".

I've included a short example here.

     Rob
Message 2 of 2
(6,580 Views)