N/A
Problem:
I'm using the Current VI's Path constant and stripping off the VI name in order to access the owning directory.
This works great in the development environment, but when I build my VI into an executable, I am having some
problems, including, but not limited to receiving the error below when performing File I/O.
Error 7 occurred at New File
.
Why is this happening? How do I build my VI such that I do not have to make any changes when I move from
the development environment to a stand-alone application?
Solution:
The Current VI's Path node returns the full path including the VI's name. This path varies based on whether the
VI is running in the LabVIEW development environment or in a stand-alone application. LabVIEW wraps all VIs
associated with a stand-alone application into an extra layer, which is actually the execut