12-17-2012 06:27 AM
In "Write into file.vi"
the file is opened and is writen normally by choseing ile options.Opened file refnume is cycled by shift registr.
But when file option is "close" error is coming.
I cant understand why???
I even reinstal my labview
12-17-2012 07:38 AM
12-17-2012 07:45 AM
I use this vi as subvi, at first time I call it with "open" option, then many times with "write" option, and no error, but the when i coll it with "close" option the error is coming.
12-17-2012 07:59 AM
Your example program isn't really good. You can be constantly opening the file without closing it. Use an event structure and add a button to execute the chosen action.
Using highlight execution, it is obvious that the close case is actually being called multiple times due to the polling architecture you have. The second time the close case is called is when you get the error.