Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQmx 8.9 + Matlab = problem with starting tasks

Hi!

I have installed new NI-DAQmx 8.9, and I have problems with it...
I have a code in Matlab R2008a which:
loads nicaiu.dll,
creates a task with DAQmxCreateTask,
starts it with DAQmxStartTask,
reads a value (for example with DAQmxReadCounterF64)
stops (DAQmxStopTask) and clears (DAQmxClearTask)

With NI-DAQmx 8.9 new task is succesfully created, but when I'm trying to start it - I always get DAQmxErrorInvalidTask (-200088) error message.
The same problem exists if I load a task prevoiusly created in MAX - it loads fine, but do not start it - always returns DAQmxErrorInvalidTask.

THE SAME CODE WITHOUT MODIFICATIONS works fine with NI-DAQmx 8.6 and 8.8, which I'm using right now.
It should be something wrong with 8.9

I'm using Matlab 7.6.0 (R2008a)

Windows XP Prof SP3 with all updates

Message Edited by UnaUnso on 06-04-2009 07:48 PM
0 Kudos
Message 1 of 1
(2,870 Views)