LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ.mx?

Solved!
Go to solution

So my task is to fix an error in a preexisting code. The .vi file is on one computer, while the equipment to run the experiment is on another. When I bring the file, and all of its subVI's with it and try to boot it on the 2nd computer it always runs into a problem loading DAQ.mx Clear Task and other DAQ.mx files. I tried downloading an updated DAQ assisstant to fix the missing library, but it still can't find the files.

 

Is there an easy remedy for this?

 

Thanks,

Neil

0 Kudos
Message 1 of 17
(4,096 Views)

Hi Neil,

 

you need to install the DAQmx driver. You will find it on the DeviceDriver DVD, which came with your LabVIEW installation package…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 17
(4,079 Views)

@Neil_Helsel wrote:

I tried downloading an updated DAQ assisstant to fix the missing library, but it still can't find the files.


Do you mean DAQmx?

 

What version of LabVIEW is this machine running?  What version of DAQmx do you have installed?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 17
(4,077 Views)

I would definitely follow the advice of GerdW and Crossrulz.

 

If you are going to be distributing this application many different computers in the future, you can build an installer which will include the various runtime engines that your application needs so that you don't have to manually install them.

 

http://www.ni.com/tutorial/3303/en/#toc5

Matt J | National Instruments | CLA
0 Kudos
Message 4 of 17
(4,041 Views)

Where do I find this driver, because I thought I installed it already.

0 Kudos
Message 5 of 17
(4,016 Views)

@Neil_Helsel wrote:

Where do I find this driver


Again, what version of LabVIEW are you using?  This information is needed in order to get a version that is compatible with the version of LabVIEW you are using.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 17
(4,005 Views)

14.0f1 I installed the trial one on my secondary computer just because my setup is easier.

0 Kudos
Message 7 of 17
(3,985 Views)

Gathering  information from your other thread (http://forums.ni.com/t5/LabVIEW/converting-5-1-to-14-0f1/m-p/3152458#U3152458), what version did you write your code in?  And then what version is your application supposed to be in?  LabVIEW 5.1 used what we now call Traditional DAQ, which is not compatible with Windows 7.  It is a fairly major undertaking to update your code from using Traditional DAQ to DAQmx.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 8 of 17
(3,977 Views)

It's hard to tell. I'm editing code written by someone else. I've seen some in 5.1, 8.5 and my edits will be in 14.0.

 

There are litterally hundreds of subVI's within this main VI with varying versions.

0 Kudos
Message 9 of 17
(3,970 Views)

@Neil_Helsel wrote:

It's hard to tell. I'm editing code written by someone else. I've seen some in 5.1, 8.5 and my edits will be in 14.0.

 

There are litterally hundreds of subVI's within this main VI with varying versions.


That sounds like a nightmare of a project to have.  It might be time to figure out exactly what the program needs to do and get rid of what is not needed.  Make sure to keep everything in a Software Code Control like SVN.  You might also want to consider hiring an NI Alliance Partner to help you out, especially if you have to change things from Traditional DAQ to DAQmx.

 

Anyways, the latest version of DAQmx can be downloaded here: DAQmx 14.5.1


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 10 of 17
(3,962 Views)