I'm a novice LV programmer trying to finish my first project. The project is the automation of an air flow stand using field point for acquisition/control. Have the code written and everything seems to work fine until I compile. Specifically, I get an error when I attempt to open an Excel template (XLT) using the New Report.vi included in the report generation add on. When the compiled executable run I get a message with the header "Error 7 occured at Open VI reference in New Report vi>report2.vi>auto air flow testing.vi . And then in the body of the message is says:
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux.
---
NI-488: Non-existent board.
VI Path: C:\builds\auto air flow\My Application\auto air flow 1a.exe\Excel_Open.vi
Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared libr
The input to the New Report.vi template connector is C:\Air Flow Data Files\templates\psc.xlt. Again this works in design so I believe the formatting is correct and the file does exist.
Why would this work in design environment but not the compiled program? I recompiled several times and even tried reinstalling the report generation tool kit. Any help or pointers would be greatly appreciated. I will be happy to supply more info if necessary. thanks.