Ruzz
2008-05-30 09:40:06 UTC
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