08-26-2005 09:33 AM
08-26-2005 09:50 AM
There is one critical thing you missed - when building the application, the application builder collects all the VIs into a single file, like an LLB. And like an LLB, this file serves as a directory, so if your paths are relative, you need to do another strip path, because the path will now be c:\...\foo.exe\bar.vi. You can tell you are running an EXE by using the Application>>Kind property.
As a way to troubleshoot things like this, you should always create indicators for inputs you feed into functions which can generate errors. That way, you can know what the function got, and, potentially, what caused the error.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
P.S.
I hope your desk feels OK.
08-26-2005 10:06 AM
08-26-2005 10:27 AM