06-16-2015 05:26 PM - edited 06-16-2015 05:40 PM
Can anyone please let me know why this is not working?
It's just a sample piece of code, to write data into a txt file and then read from it.
First of all, if a file already exists when I want to write into it and I choose "Replace the file", it says Duplicate path and stops.
Second, if I write a new file, it shows: Error 85: Scan failed. The input string does not contain data in the expected format.
Attached VI file.
EDIT: see below post.
Solved! Go to Solution.
06-16-2015 05:40 PM
In case someone wanted a better version of the same file, here it is.
06-16-2015 05:44 PM - edited 06-16-2015 05:57 PM
I now understood it to be a string scan problem, that it is not taking the comma as a separator, but as part of the string.
Any help?
EDIT:
Before anyone posts anything, here's the actual thing I'm trying todo. It's part of a larger program, and I copied only parts of what I need in this post, so only relevant suggestions please.
The VI will not run because the LoadJob event has all the errors. It's what I need help with.
06-16-2015 09:48 PM
Just for reference, I solved it using the match pattern VI in a for loop and then using index array for individual values.