LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error:Missing DAQmx VIs in EXE running on development PC

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.

0 Kudos
Message 1 of 12
(3,124 Views)

What do you mean developement PC? The same PC where you build your application?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 12
(3,086 Views)

Yes

0 Kudos
Message 3 of 12
(3,083 Views)

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

0 Kudos
Message 4 of 12
(3,054 Views)

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.

0 Kudos
Message 5 of 12
(3,025 Views)

How are you using the VI Actual_Logic_New Modified ReportNew.vi ? 

 

How is your build specification for the exe? 

0 Kudos
Message 6 of 12
(3,018 Views)

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.

0 Kudos
Message 7 of 12
(2,998 Views)

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.

0 Kudos
Message 8 of 12
(2,996 Views)

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

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 9 of 12
(2,999 Views)

Dear 

 

 

0 Kudos
Message 10 of 12
(2,988 Views)