LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

save change for the next run

I have a question about saving change for the next run.

Here is an example,

When I run the code, the program will import reference data from a predefined default folder A. I can change the reference by selecting a different folder B but once I quit and rerun the code,  I  need to select folder B again.
My question is: how can I record this change so that the program can directly read data from folder B for the next run?

Thanks,
wmf
0 Kudos
Message 1 of 2
(3,048 Views)

Two common ways to do this are to use inifile.fp to save the information between sessions in an .ini file.  See this link for more:
http://forums.ni.com/ni/board/message?board.id=180&message.id=11113&query.id=14896#M11113
Or there are functions in the toolbox to save information in the registry.
http://forums.ni.com/ni/board/message?board.id=180&message.id=882&query.id=14916#M882

Message Edited by mvr on 07-28-2006 02:19 PM

Message 2 of 2
(3,045 Views)