02-23-2017 03:54 AM
Dear Sir,
We have built an exe which has DAQmx and other sub VIs included in the dependencies automatically. The EXE builds successfully.
However, when we run the exe on the development PC, it gives an error saying DAQmx VIs and Read delimited spreadsheet VI missing. Pls find attc. screenshot for error.
Kindly help us to resolve the problem.
Thanks,
Regards,
khmlv.
02-23-2017 04:53 AM
What do you mean developement PC? The same PC where you build your application?
02-23-2017 04:57 AM
Yes
02-23-2017 04:25 PM
What happens if you run your VI from LabVIEW, i.e. "in development mode"? Does it run? If the answer is "Yes, it runs in Development mode, but does not run on the same PC as an Executable", something is very strange.
To help us figure out what is going on, you should compress the folder containing your Project and attach the resulting .zip file for us to examine.
Bob Schor
03-03-2017 12:03 AM - edited 03-03-2017 12:04 AM
Thanks for the reply. We have made the following observations and implementations:
1) When we run VI in development mode, it runs perfectly without errors.
2) When these VIs which have DAQmx VIs, are configured as start-up, they donot give error in exe aswell.
3) We tried repairing labview it didn't help.
4) We have installed DAQmx latest version 16.0.
5) We also installed nisyscfg_labview2015_x64 as our windows OS is 64 bit while Labview 2015 is 32 bit.
6) This code was originally developed in Labview 7.0. We have opened VIs in Labview 2015. We replaced Write/Read to spreadsheet with Write/Read Delimited. However, it gives missing error like DAQmx and other errors in exe {attached}.(no error in development mode)
However, we are still not able to find any solution.
Kindly guide us.
Thanks.
03-03-2017 02:28 AM
How are you using the VI Actual_Logic_New Modified ReportNew.vi ?
How is your build specification for the exe?
03-03-2017 05:15 AM - edited 03-03-2017 05:19 AM
Dear All,
We have attached a zip file of sample project made in Labview 2015 64 bit which gives DAQmx ,Read/Write delimted and report generation related errors as mentioned above in the exe (which is run on development PC). However, the VIs run in development mode without errors.
Kindly store the project in C Drive to run VIs without modifications.
There are 3 screens in this project. We have tested running Project VIs with following conditions:
Condition1- Start-up VI: Screen 1
A button on the screen1 opens Screen 2. Similarly, Screen 3 opens with button on Screen 2.When Screen 3 opens,which has DAQmx ,Read/Write Delimited VIs and report generation VIs, it gives missing VIs error in exe(broken arrow).
Condition2- Start-up VI: Screen 3
On start-up, Screen 3 VI runs without error. However, when we go to screen 2 and back to screen 3, it gives missing VIs error in for screen 3 in exe(broken arrow) for DAQmx ,Read/Write Delimited VIs and report generation.
We find this very strange.
Please help us find some solution.
Thanks.
03-03-2017 05:23 AM
Dear All,
We have attached a zip file of sample project made in Labview 2015 64 bit which gives DAQmx ,Read/Write delimted and report generation related errors as mentioned above in the exe (which is run on development PC). However, the VIs run in development mode without errors.
Kindly store the project in C Drive to run VIs without modifications.
There are 3 screens in this project. We have tested running Project VIs with following conditions:
Condition1- Start-up VI: Screen 1
A button on the screen1 opens Screen 2. Similarly, Screen 3 opens with button on Screen 2.When Screen 3 opens,which has DAQmx ,Read/Write Delimited VIs and report generation VIs, it gives missing VIs error in exe(broken arrow).
Condition2- Start-up VI: Screen 3
On start-up, Screen 3 VI runs without error. However, when we go to screen 2 and back to screen 3, it gives missing VIs error in for screen 3 in exe(broken arrow) for DAQmx ,Read/Write Delimited VIs and report generation.
We find this very strange.
Please help us find some solution.
Thanks.
03-03-2017 08:07 AM
Are some VI's called dynamically, with VI Server or Run Asynchronous? If so you'll need to include them in the build automatically.
/Y
03-04-2017 06:22 AM
Dear Yamaeda,
We are not sure whether these VI's are called dynamically, with VI Server or Run Asynchronous. Can you please elaborate?
Also, we have attached the code in our previous post. Can you please go through?
Thanks a lot.