LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to write the file serveral times without asking path

Hi anyone,
Is there anyone know how to write the file several times without asking the path. First of all, I have the 2D string array data of table control, used as control and then
I'd like to save the data on the table in form of text file. That's not a problem but if I want to save the data in the existing file itself without asking the path to save it.
I might explain it confusingly. Make the example might be simplified,, if we use Microsoft Excel, if I wanna save my file for the first time, Excel is asking where and what name
do we want to save it and then if we have modified or change somethings, Excel program automatically can save it in the same place and the same name without asking saving path and filename unless we click "Save as" , we can choose new place and filename...... Finally, I've to use LV for "save" and "save as"  function like Excel, for example.

Thanks a lot in advance
Mannie



0 Kudos
Message 1 of 2
(2,631 Views)
You can put a File Path Control on your front panel.  Use that to enter the file path info that feeds into all of your file open VI's.  You can also use the File Dialog express VI in the advanced file I/O pallette.  I don't know the archecture of your program.  But if you generate a file path once, remember to maintain its value by way of wires and shift registers (for keep the value between iterations of loops).
0 Kudos
Message 2 of 2
(2,626 Views)