LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview remember open files???

I was wondering if Labview can remember open files. For instance, when you open a file in MS WORD, it keeps a record of that open file so that next time you open WORD again you can just click on the file to open it rather than looking for the file again. Can Labview do this? If so, is there an example?

Message Edited by Newguy100 on 10-28-2005 03:08 PM

0 Kudos
Message 1 of 5
(3,247 Views)
Message 2 of 5
(3,132 Views)

The exact analogy to your MS word example is built into LabVIEW. The file menu has an entry with the most recently opened VIs. ("menu..File..Recently opened files..")

If you want to keep track of recently opened files within your application, you need to program around it. For example, you could maintain a list of recently opened files in a configuration file. You would read the configuration file at program start and update it whenever you open a new file within your application.

Message 3 of 5
(3,133 Views)
Is there an example of that? I haven't dealt with a configuraion file b4.
0 Kudos
Message 4 of 5
(3,131 Views)

Hello,

It is not as though you need to write a configuration file, it's only that you can.  A configuration file simply stores "keys" in a fairly standard format.  In general, the writing and reading of such files is somewhat abstracted away in LabVIEW if you use the Configuration File VIs subpalette of the File I/O palette.  The example finder has Write Configuration File Settings.vi and Read Configuration File Settings.vi which use the VIs in the Configuration File VIs subpalette, and server as great examples to start with!

Best Regards,

JLS

 

 

Best,
JLS
Sixclear
Message 5 of 5
(3,086 Views)