02-04-2015 10:51 AM
I have included in my application Modbus Ethernet Example Slave, which I've altered a bit ( only the inside of While Loop ). Everything is working fine until I've come to using an executable built from my project.
When I start it I got: Error 7 occurred at Open VI Reference in Modbus Init.vi->Main_v0.3.5.vi
Possible reason: LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system.
In my project library I have Modbus Ethernet Example Slave in directory where the .lvproj file is, and the so the "Open VI Refference.vi" gets it from there (path is built using "Application Directrory Constant" + Name of VI).
I've also set "Always include" for MB Eth Example Slave in build properties but I still get the error of not founding the VI.
Do You have any idea why is it happening?
02-04-2015 11:12 AM
For your example, your exe has to reside in the same folder as the project as well.