LabWindows/CVI

cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

DAQmx support

Solved!
Go to solution

Thanks Rolf,

 

I can try your suggestion - because I don't have a hard disk anymore I am not afraid of hungry drivers ๐Ÿ˜

 

What I am wondering about is what actually changed in LabWindows that makes it incompatible - if CVI 2017 is supporting DAQmx 19 so why are CVI 2019 or CVI 2020 having problems with it, as far as I know the changes made to the two recent CVI versions were not in the DAQ API but in the IDE, an improved editor and enhanced debugging...

0 Kudos
Message 11 of 18
(1,662 Views)

Wolfgang, just as margin note, sometime the list of supported HW in DAQmx readme is unreliable.
For example, your NI 9262 C-series card is *not* present in that list, in 20.1, 19.0, 18.0, and 17.0, if I see well ๐Ÿ™‚
But the related special APIs are present, at least in headers and online help.

Anyway, may be the problem you shown with DAQmxGet9262CalAdjustPoints iis only an issue due to the order of installation of LabWindows vs DAQmx. 


Carlo A.
Megaris




Message 12 of 18
(1,649 Views)

@Wolfgang wrote:

Thanks Rolf,

 

I can try your suggestion - because I don't have a hard disk anymore I am not afraid of hungry drivers ๐Ÿ˜

 

What I am wondering about is what actually changed in LabWindows that makes it incompatible - if CVI 2017 is supporting DAQmx 19 so why are CVI 2019 or CVI 2020 having problems with it, as far as I know the changes made to the two recent CVI versions were not in the DAQ API but in the IDE, an improved editor and enhanced debugging...


It's usually not incompatibility but simple lack of support for it in the installer. LabVIEW and LabWindows/CVI both require specific bindings to call external drivers. For LabVIEW that are VIs and sometimes wrapper DLLs that help managing parameters between LabVIEW friendly datatypes and the low level DLL interface. For LabWindows/CVI that are the instrument driver front panel files and possible UIR files, as well as the import libraries for the driver DLLs. Also the headers need to be installed in local directories in order for LabWindows/CVI to be able to find them out of the box. The actual driver DLLs are installed system wide in the according system folders for all of these software.

 

Each LabWindows/CVI version has its own install directory and therefore its own location where these files need to be installed. The installer only can know about versions that existed at the time it was created. So your DAQmx 19.1 driver installer simply can't know about LabWindows/CVI 2020 at all, and therefore not add the necessary support to an installation of it.

 

There are other complications such as the fact that some of these installed files might be binary in nature and version specific. Then if the installer doesn't come with the correctly created files for the version you want, it simply won't work. if that is not an issue and it often isn't you can copy the necessary files yourself from a successful installation to your new application version. But it is a tedious job to track down all these files and not make any errors along the way. And of course if it doesn't work you can't blame NI, they told you "It is not supported!"

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 13 of 18
(1,640 Views)

@carlox wrote:

Wolfgang, just as margin note, sometime the list of supported HW in DAQmx readme is unreliable.
For example, your NI 9262 C-series card is *not* present in that list, in 20.1, 19.0, 18.0, and 17.0, if I see well ๐Ÿ™‚
But the related special APIs are present, at least in headers and online help.

Anyway, may be the problem you shown with DAQmxGet9262CalAdjustPoints iis only an issue due to the order of installation of LabWindows vs DAQmx. 



Hi Carlo,

 

thanks - I did not read the function name carefully enough - I do not have this 9262 board... never had. I have a PCI-6031E board... This does not help to make things more clear for me, but thanks for feedback!

0 Kudos
Message 14 of 18
(1,629 Views)

@rolfk wrote:

... For LabWindows/CVI that are the instrument driver front panel files and possible UIR files, as well as the import libraries for the driver DLLs. Also the headers need to be installed in local directories in order for LabWindows/CVI to be able to find them out of the box. The actual driver DLLs are installed system wide in the according system folders for all of these software.

 

Each LabWindows/CVI version has its own install directory and therefore its own location where these files need to be installed. The installer only can know about versions that existed at the time it was created. So your DAQmx 19.1 driver installer simply can't know about LabWindows/CVI 2020 at all, and therefore not add the necessary support to an installation of it.

 

Thanks again Rolf, you know so much more about these things. I will go back and downgrade to CVI2017, check the directories, and then try upgrading again. The hardware is simply too expensive to just replace it like that, and of course I would like to enjoy the benefits of the recent versions of CVI.

0 Kudos
Message 15 of 18
(1,628 Views)

Same issue here using LW 20.0.0 and older DAQmx. ๐Ÿ˜ž

How was it determined moving back to LW 17 installer and not LW 19 or 18?

0 Kudos
Message 16 of 18
(1,589 Views)
Solution
Accepted by topic author Wolfgang

Today is a good day, the patch f1 makes CVI cooperate with DAQmx again, so

whereas CVI 2020 and DAQmx 19.0 did not work, i.e., throw the reported error,

CVI 2020 f1 and DAQmx 19.0 do work without this strange error. ๐Ÿ˜Š

 

How nice! ๐Ÿ‘

 

Still, NI, you could work on your communication skills...

0 Kudos
Message 17 of 18
(1,561 Views)

Good to know!

For anyone delaying upgrades, DAQmx 2018 + LW/CVI 2017F1 is working.

0 Kudos
Message 18 of 18
(1,549 Views)