02-22-2007 09:08 AM
02-22-2007 10:36 AM - edited 02-22-2007 10:36 AM
How are you building the path the file that you are reading?
When you build an executable, the path of the VIs it contains changes.
In development environment, path to VI = c:\project\Top Level.vi
In executable environment, path to VI = c:\project\Executable.exe\Top Level.vi
So if the file you are reading is in the same directory as the executable, and you are building a path relative to that, you need to strip one more path level for the executable.

The above image shows one way to do determine programmatically if you are in the development or executable environment and how to strip the path an extra time for the RTE.
If this is not the problem, kindly ignore everything I just rambled on about.
Ed
Message Edited by Ed Dickens on 02-22-2007 10:36 AM

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.02-22-2007 12:17 PM
02-22-2007 12:40 PM
02-22-2007 01:50 PM
02-22-2007 02:51 PM