Discussion:
error -200587 on DAQmxStartTask()
(too old to reply)
Ruzz
2008-05-30 09:40:06 UTC
Permalink
Hi everyone, Im trying to start a task for a PCI-DIO-96 board, but i alwais get as return the number -200587 (DAQmxErrorDigLinesReservedOrUnavailable). Anyone can help me with this?. I have tried with "Dev1/port5", "Dev1/port0","Dev1/port5/line0:7" and few more combinations, but not workingHeres the code that im using:DAQmxCreateTask("myTask",&task);DAQmxCreateDIChan(task,"Dev1/port5/line0:7","",DAQmx_Val_ChanForAllLines);DAQmxStartTask(task);   ----------> the return of this function is -200587.Thanks in advance,Ruzz
Ruzz
2008-06-02 08:40:08 UTC
Permalink
I got the problem: other application was using the lines that i wanted to use, that was the reason of the -200587 error. :)
Loading...