LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx 19.6 not working with 2019

Solved!
Go to solution

I am not sure why this happened. I was not making any changes to the LabVIEW or DAQmx environments. When I pulled up a project that I have been working on every day for a month and tried to open a vi, the Daqmx items in the project (x16) are not found. The DAQmx icons are not appearing for the block diagram either. I saw that installing in the wrong order is a problem so I uninstalled DAQmx and reinstalled. That did not change anything. the DAQmx items are showing in MAX, it just seems like somehow my DAQ stuff isn't linked properly to the LV2019 stuff. Any guidance is welcome, Thanks!

ChrisMusk_0-1601654905553.png

 

0 Kudos
Message 1 of 14
(3,191 Views)

In NIPM, make sure the "NI-DAQmx Support for LabVIEW" is installed for the version you are using, including 32-bit vs 64-bit.  You will need to make sure the "Products Only" is unchecked in order to see this package.


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 2 of 14
(3,169 Views)

I will try that after lunch and hopefully bring you something... Thanks,

0 Kudos
Message 3 of 14
(3,161 Views)

OK. I reinstalled DAQmx and now have all of the support files. Including the one for 2019. However, When I open my main vi I still get this. Every one of the DAQmx functions is still missing. Do i need to load something? Is there a specific ;location where DAQmx should reside in relation to my LabVIEW? I assumed that would take care of itself though.

 

ChrisMusk_0-1601661684487.png

 

I get this.

ChrisMusk_1-1601661881344.png

 

Which is a result of this ALL OVER THE PLACE.

 

ChrisMusk_2-1601661934350.png

 

 

 

 

0 Kudos
Message 4 of 14
(3,142 Views)

What DAQ device are you trying to communicate with?

 

Those VI names for Block Diagram errors don't look like ones I've seen with DAQmx.

The missing subVI's in the block diagram, do look like they should be DAQmx.

 

Did you reboot your PC after installing DAQmx?

0 Kudos
Message 5 of 14
(3,129 Views)

cDAQ-9178

 

Reboot Yes

 

DAQmx Clear Task

DAQmxCreate Channel

DAQmxWrite

DAQmxRead

DAQmx Create Channel Dig

etc.

 

This program, and others have been working forever without any issues. Thanks for helping me.

 

I just noticed this too... (attached)

 
 
 
 

 

 

 

0 Kudos
Message 6 of 14
(3,122 Views)

If you load a blank VI and try to drop DAQmx subVI's, or load a DAQmx example from the Example Finder, do either of those work?

 

I really suspect the problem is in those CSSR_V2 subVI's.  What are they?  Where are they from?  Perhaps that are looking for some hard coded DAQ path.

 

Doing the first steps with a simple VI calling DAQmx will sort out if you have a DAQmx problem, or if that is fine and the problem is with these other subVI's that are trying to call DAQmx.

 

 

Message 7 of 14
(3,105 Views)

Examples for hardware In and Out says this:

 

ChrisMusk_0-1601667695014.png

 

 

The Vis were written by me. They are not hard coded to a place, they go to "vi.lib" They vary from VI to VI but for the most part they are digital reads and writes as well as relay switches for routing signals. They have worked fine for months. Also, this phenomenon occurs on all of the projects and programs I have tried. 

 

It appears that I have a weird file structure within my National Instruments folder. There is a folder for Version 2019 embedded in the 2013 folder and that is where the DAQmx has been installed. I am going to try uninstall, reinstall with a different version of DAQmx and see if it steers to the right place.

 

I will let you know if that changes anything. It is a time consuming process. I appreciate you keeping up on this with me.

0 Kudos
Message 8 of 14
(3,100 Views)

I found where the DAQmx was installed and dragged the folder to the proper vi.lib. Everything seems fine now. I am going to investigate this wacky file structure on Monday to find out what happened. Thanks again for helping.

0 Kudos
Message 9 of 14
(3,092 Views)

Where did you find the DAQmx installed?

Where was the "proper vi.lib"?

 

I'm quite sure DAQmx would have been installed in the proper folder, and the problem is that these subVI's were the problem.

 

0 Kudos
Message 10 of 14
(3,043 Views)