I am trying to read a new filename path from a txt file. This filename path I use to create a new file to store data in. See attached test VI. The first time everything works fantastic but the second time the while loop executes the create "new file" generates a error -1 message and I do not how to solve it. I have a suspicion it has something to do with the refNum output of the "new file", but I am not sure and I do not know how to work around that either.
Kind regards,