LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

After upgrading to CVI2015 DAQmxCreateTask(...) won't run in Debug mode.

I get the following error message...

 

DAQmxCreateTask Error.JPG

0 Kudos
Message 1 of 5
(3,659 Views)

Apparently you are using a command which is too new for the released of daqmw which is installed in your system: on my system with release 14 the command is not present.  Which release have you installed? The most recent release (16.0) can be downloaded from here



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(3,637 Views)

I successfully used DAQmxCreateTask(...), along with other related DAQmx functions, in LabWindows/CVI 2013 SP2 Full Development Version 13.0.2 (278).  I received a new version, LabWindows/CVI 2015 SP1 Full Development Version 15.0.1 (239), in the mail a few days ago and installed it.  I'm still able to open and run both the older version (13.0.2) and newer version (15.0.1), however neither version now allows me to use that function (or other DAQmx functions) in Debug mode without generating that error. 

 

That link...is not very useful. 

 

NI CVI issue 2.JPG

0 Kudos
Message 3 of 5
(3,628 Views)

CreateTask is a fundamental command in DAQmx and is supported in all versions of the driver. The one I was referring to is DAQmxCreateCILinVelocityChan that is mentioned on the bottom of the error dialog and it must be somewhat related to your code: that command is quite new and made me think to a versioning problem in your installation. During your system update did you installed a new DAQmx driver?

Besides it, you said twice that the command does not execute in debug mode: does it compile and execute correctly in release mode? 

 


Nutorque_Rene ha scritto:

That link...is not very useful. 

 

NI CVI issue 2.JPG


That's strange! In both a tablet and my laptop the link points to the list of DAQmx drivers. I don't know where the problem lies but in any case you can reach DAQmx download page going to the support page and selecting DAQmx link.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 5
(3,612 Views)

The one I was referring to is DAQmxCreateCILinVelocityChan that is mentioned on the bottom of the error dialog and it must be somewhat related to your code: that command is quite new and made me think to a versioning problem in your installation.

 

Strangly, the function DAQmxCreateCILinVelocityChan is not used in my code. 

 

During your system update did you installed a new DAQmx driver?

 

Not explicitly.  Updating to CVI 2015 was a 3+ hour install process that at some point promted me to insert the "NI Device Drivers" DVD that came with the update DVD. 

 

Besides it, you said twice that the command does not execute in debug mode: does it compile and execute correctly in release mode? 

Yes.

 

I searched the NI Driver database for "DAQmx 16", downloaded three large executables and installed them.  It now works in both Debug mode and Release mode.  (Adding the "16" to the search criteria was just me guessing it would produce the most up to date files.) 

0 Kudos
Message 5 of 5
(3,557 Views)