LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Drivers

I installed a DAQ card and drivers (NI DAQ 7.1). I created a task in NI MAX. In LV, I tried to generated code for the task, and I get a bunch of file not found errors. The software is looking for a DAQmx directory under the vi.lib directory for the DAQmx vis, but that directory doesn't exist. I tried to reinstall NI DAQ but it didn't help. Where are the DAQmx vis?

Thanks,
Bill F
0 Kudos
Message 1 of 9
(4,163 Views)
There should be a 'DAQmx' directory under 'vi.lib' as you stated. Looks like the installation didn't work for some reason.

Try uninstalling the DAQ drivers through Add/Remove Programs, you'll find it listed within the "National Instruments Software" selection, then try reinstalling and see if that helps.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 9
(4,163 Views)
Thanks. I figured it out. The DAQ install put the DAQmx directory under the vi.lib directory for the LV 7.0 installation. I've upgraded to LV 7.1. LV was looking for the files under the 7.1 installation. I copied the directory to my LV 7.1 installation and that fixed the problem.

Bill F
0 Kudos
Message 3 of 9
(4,163 Views)
You may still be missing several files that may be needed or wanted in the 7.1 installation. I know there is a DAQmx directory in the Examples directory. There's a DAQmx directory in the Menu/default directory and probably some things in the Resource directory and other places I don't know about yet.

To get a complete installation in 7.0 and 7.1 do the following. This is how it works on on WinXP Pro.

Open the Control Panel and go to Add/Remove Programs. Find the entry for National Instruments Software. Click on it and click the 'Change' button. In the dialog that opens, scroll down until you see the 'DAQmx 7.x' entry, click on it and hit the 'Modify' button. You'll need the DAQ driver CD or be able to point to the files if you download
ed them. This will restart the DAQ installer. After the installer initializes, open the Data Acquisition tree, then the DAQmx 7.x tree and make sure the selections for LabVIEW 7.0 and 7.1 will be installed by clicking on the small pull down menu and select Install this feature to local hard drive.

Start clicking Next until the install starts and you should have everything you need.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 4 of 9
(4,163 Views)
OK, I tried this, but I don't have a 7.1 option to select. It has an option for 7.0 support only. I guess the installer isn't seeing I have 7.1 installed?

Bill Farley
0 Kudos
Message 5 of 9
(4,163 Views)
I can't think of why the 7.1 installation wouldn't be showing.

Try going back into the National Instruments Software in the Add/Remove Programs and make sure LabVIEW 7.1 is showing in there. If it's not, just try dropping the install CD back in and reinstall it. Something didn't go right during the install. If it is there, click on it and hit Repair. You'll probably need the CD. This will make sure all the registry entries and files are where they're suppose to be.

If this still doesn't do it, a support call to NI might be in order.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 6 of 9
(4,163 Views)
LV 7.1 shipped with NI-DAQ 7.2. The NI-DAQ 7.1 installer does not know about LV 7.1 since LV 7.1 didn't exist when NI-DAQ 7.1 was released, which is why you wouldn't see LV 7.1 as an option in the NI-DAQ installer.

If you have the Driver CD that came with LV 7.1, install NI-DAQ 7.2 (including the LV 7.1 support files) from this CD. Ed is correct in pointing out that there are lots of other files besides the vi.lib ones that DAQ installs into the LV directory. These other files are needed for complete edit-time operation of DAQ in LV.

Deborah
0 Kudos
Message 7 of 9
(4,163 Views)

Good catch Deborah,

I missed that he was trying to install NI-DAQ 7.1 instead of 7.2.

If for some reason you don't have the NI-DAQ 7.2 driver CD, you can download it here. There's about 600 MB to download.

Ed



Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 8 of 9
(4,163 Views)
Thanks,
This worked

Bill F
0 Kudos
Message 9 of 9
(4,163 Views)