04-02-2011 01:57 PM
I'm new to labview programming and am having the following problem:
When trying to open a file ".dat" in Labview 6i it from the program ".vi" and appears "Error 7" and the file does not open. I am using the block "Open file". Attached is a screenshot. How to solve this?
Thanks
04-02-2011 02:18 PM
There is no way to troubleshoot this by looking at a picture of the diagram. LabVIEW 6 is almost prehistory and many things have changed, especially the file IO all looks different so it is impossible to tell what you are doing.
Error 7 is file not found, so most likely your string operations are not correct. What are the full strings? What is the final file name (maybe you are missing a "\" or maybe you are on a different OS type). Put an indicator at the path wire to see what's happening!
Is this a datalog file?
(Overall, the code is a bit suspect. Nobody needs a seven frame flat sequence. 🐵 Why do a control and an indicator have the same label?)
04-02-2011 02:21 PM - edited 04-02-2011 02:22 PM
And, don't ever again attempt to get around the ban on posting bitmap images by simply renaming the file. Really irritating and rude behavior.
04-04-2011 11:44 AM
Problem solved. In another OS works perfectly
Thanks
04-04-2011 12:21 PM