12-09-2008 02:28 AM
Hi All,
I would like to ask whether:
Firstly, when my main program is running, and when i click my save button, it will prompt me to save. here comes the thing. when it prompt me, i would like to save it as type is in VI form. not in all files. Currently, i'm using binary files in my 'save' case structure.
2nd problem is that: if i save as type in VI form, i cant open it as error prompt said, the file that i save is an invalid labview file.
Lastly, i would like to ask is there a way to save a new vi when main program is running? i wish tat in my program, when i click 'open' button, it will show me the previous readings.
Currently, i'm using labview 7.1
Thank You.
12-09-2008 06:10 AM
Hi Isabella,
Thanks for your post and I hope your well.
I am sorry but I dont fully understand your issues:
1#: So when your main vi is running, why/how are you trying to save it?
2#: Are you asking if there is a way to programmatically save a VI or File?
If you could try to clarify things for more (sorry) and I will then give you some help 😄
12-09-2008 08:48 AM
1#: So when your main vi is running, why/how are you trying to save it?
The reason of saving it because i would like to view back the records of history
How i'm saving it by having a save button in my 3loop structure.
2#: Are you asking if there is a way to programmatically save a VI or File?
Is there a way to programmatically save a VI?
Sorry for those unclear portions. Thank You.
Regards,
Isa
12-09-2008 08:53 AM
12-09-2008 11:47 AM
Hi Isa,
Thanks for the reply - sorry for the delay.
Are you saying your storing data on your LabVIEW front panel.. so you wish to save it has you go along?
If so, I would suggest logging the data to a file. You could then create a new file every X events (every iteration, every 10seconds, every N Sample) etc.
You can find file examples in the NI Example Finder (Help>>Find Examples and search Files).
Please let me know what you mean't,
Hope this helps.
12-09-2008 07:53 PM
Hi Hillman,
Thanks for the suggestion. I looking in the example finder now. Thanks alot.
Regards,
Isa
12-10-2008 10:31 AM
Hi Isa,
Thanks for getting back to me, glad to help 😄
Let us know how you get on!