10-03-2008 09:58 AM
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.
10-06-2008 05:50 AM
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?
10-06-2008 09:02 AM - edited 10-06-2008 09:03 AM
Hi Sergey,
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.
Regards,
10-07-2008 09:08 AM
Thanks Daniel,
but for some reason I could not open this document(link) .
10-07-2008 09:12 AM
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
|
Developer Zone Example: Using VI Server to Run LabVIEW Real-Time VIs Stored on an RT Series Hard Dri...
Developer Zone Tutorial: VI Server between the Host PC and Real-Time Series Hardware
10-07-2008 10:14 AM
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.
http://forums.ni.com/ni/board/message?board.id=280&thread.id=4770
Sergey.
10-07-2008 10:39 AM
10-07-2008 10:51 AM
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).