LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

local varialbe

Dear all,
 
I would like not to use a local variable in a VI (see my attachment).
After launching the file dialog, the name information should be returned to the variable to show the file name correctly.
In this case, how to realize this work without using the local variable?
 
Thank you in advance.
 
 
0 Kudos
Message 1 of 2
(2,405 Views)
Let's assume this is a toplevel VI and there is an outer while loop containig this code fragment. Create a shift register and connct the path input to the left shift register and feed the new path to the shift register terminal on the right.
 
More efficient would be to open the file outside the loop and keep the file open while you are appending at each iteration using low-level File I/O. In this case you only need to wire the refnum to the inside of the loop.
0 Kudos
Message 2 of 2
(2,395 Views)