I am truying to create configuration file(just store latest settings and load these settings on the program start).
I have used it before for cRIO and had no problem at all.
Right now I am using RealTime system and by some reason I could not manage to create code that does it.
I have attached 2 different code examples. First one has manually chosen path and file name (constant). Code runs OK but does not store anything.
Another is with File Dialog express vi. It shows error 7 file not found.
It shows this error on the start and on the stop of the program(without showing file dialog)
Possibly my error is very simple, but I spend 2 days truying to figure it out and no luck so far.
Does somebody have something to comment it?
I have created small piece of code that tdoes recording of one variable and it works.
After that I have copied this code into big code(main code with real-time control) after that I immediately have got this lovely message about Error7.
Is it a bug in LabView or is that just me?
I have run and looked over your code. After running some searches I would like to point you in the direction of this web article which seems to hold the information required to fix your application.
The following is the information in the link
Why am I Getting 'Error 7: File Not Found' When Dynamically Launching a VI on a LabVIEW RT System through VI Server?
Primary Software: LabVIEW Modules>>Real-Time Module
Primary Software Version: N/A
Primary Software Fixed Version: N/A
Secondary Software: N/A
Thanks for a really fast response.
I did take a look at one of the links on a bottom of your post
(cant open another one) . Looks interesting but I can't open code attached 203620.zip
As it says that it is too old version(I believe LAbView 5.1).
Anyway how it is going to help me?I currently looking intodifferent problem, may be configuration file will be irrelevant after solving it.
That would be great.
I have tried to send same code to local NI engineer yesterday but he did not respond to me yet (probably too many stupid questions).