08-24-2016 02:54 PM
I get the following error message...
08-25-2016 01:09 AM
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
08-25-2016 09:11 AM
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.
08-25-2016 04:48 PM
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.
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.
08-30-2016 10:47 AM
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.)