LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to build and executable which will include Advantech DAQ vi's. Have Advantech USB 4750

I'm using Advantech USB 4750 hardware and Advantech DAQ VIs. It is working perfectly on the developing machine. Now i'm trying to create an executable. cant get the executable to talk to the DAQ. I already installed the USB 4750 driver and runtime engine in the machine I will be running my executable. How do I incorporate the Advantech DAQ VIs to my executable. They are showing as dependancies on the Project exlporer. Need some help on this.
0 Kudos
Message 1 of 11
(4,985 Views)

Can you post the project so I can take a look at the build specifications. Thanks 

 

Travis-E

National Instruments
Product Marketer
0 Kudos
Message 2 of 11
(4,961 Views)

Did you resolve this problem? I am having the same problem. Please email me. stheron@tellumat.com

0 Kudos
Message 3 of 11
(4,936 Views)
Hi, No i havent solved the problem yet. I'm just running it from the development machine. If i findout i will let you know.
0 Kudos
Message 4 of 11
(4,929 Views)

Perhaps these vis hook into a dll that isn't being packaged?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 11
(4,921 Views)

Thank you.

Please let me know If you find a solution.

I will also install the dev environment, for now.

 

0 Kudos
Message 6 of 11
(4,913 Views)

You can try including the DLLs from the driver in the Data folder that is created when you make the executable. Alternatively you can create an installer and specify the location of the driver you would like to use in the source code area. That way when the driver is called it will have a known path. Here is a document that may help in building an installer with other installers: http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/add_installers_to_build/

 

 

Travis E

Applications Engineer

National Instruments  

National Instruments
Product Marketer
0 Kudos
Message 7 of 11
(4,896 Views)

I'm having the same issues. The strange thing is, the executable will not work on the development computer either. The VI will run fine. But if I start the executable, then start the VI, the VI shows an error but the executable runs. I really need this executable to be able to be run from a computer without LabView. Any suggestions? Tried to include the project below.

 

Thanks

Zach

0 Kudos
Message 8 of 11
(4,725 Views)

Hello DiracDeltaForce,

 

Besides Travis-E recommendations on this post, I wanted to show you these links:

 

Building an Installer (Windows) - LabVIEW 2012 Help

http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/build_installer/

 

Building a Stand-Alone Application - LabVIEW 2012 Help

http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/building_a_stand_alone_app/

 

Hope you find them useful.

 

Regards

Ernesto

Applications Engineer

National Instruments 

0 Kudos
Message 9 of 11
(4,698 Views)

I have the same problem. When I install DAQnavi it installs DAQnavi Runtime which I think is the problem! 

 

Then it works 

0 Kudos
Message 10 of 11
(4,498 Views)