05-09-2012 06:06 PM
Problem writing binary files with LV 8.5. I have one VI that does all the interaction/file I/O and another VI for testing. I find when I run the subVI where all the data reading/writing is happening with break points and single stepping through the code all is OK, but when I run normally the files are much larger than they should be and as well when I close the files I get a error. Any insights?
Walter
05-09-2012 06:26 PM
Can you be more specific? What errors do you see? Can you share your code?
05-10-2012 02:33 AM
Sounds like you have some fast spinning loop in your sub-vi writing way too much.
/Y
05-10-2012 07:42 AM
I have been called out of town, will tidy up code and post when I get back.
05-21-2012 09:21 AM
I found the problem, I was actually trying to close the files twice.
Thanks
05-21-2012 09:26 AM
@Waltz wrote:
I found the problem, I was actually trying to close the files twice.
I don't see how this could cause the symptoms you described in the first post.
(It only explains the error on close).