I'm using Open/Create/Replace file to read a one-line string of text from a file. If the file is found, the contents are read, the string is parsed and various parts of it sent to outputs, and the file is deleted. If the file isn't found, nothing happens. Everything works - in fact, it works a little too well.
If the last Open File attempt failed and the file is then pasted into the datafiles folder, the VI will open, read, and delete the file immediately, regardless of the length of the delay. I don't know if this will be a problem, as the file being read is small and simple, but I'm curious why it's happening.
I've attached the VI. I was unable to attach the .msg file, as the board does not allow files with the .msg extension to be attached. The contents of the file can be found below. It is a single line.
6202,coil_0123456789,1,10.02,30.5,1.60