*Facing problems while using NIDAQ 6259 (m series) with ANSI C in windows 2000*
I am attaching an ANSI C program, which outputs two digital signals based on certain conditions.
I have configured the digital output channels using
DAQmxErrChk
(DAQmxCreateDOChan(taskHandle1,"Dev1/port0/line0:1","",DAQmx_Val_ChanPerLine));
and oututting the values in a loop using onboard clock using
DAQmxErrChk
(DAQmxWriteDigitalU32(taskHandle1,1,1,10.0,DAQmx_Val_GroupByChannel,data,NULL,NULL));
My problem is this:
While checking the outputs at the line 0 and line 1 of port 0, I am
getting the outputs only on line 0, while line 1 does not show the output.
I tried to configure it also as "Dev1/port0/line1:2". In this case, it is
not showing any of the outputs. The change of ports also does not seem to
be working.
Please guide me asap.
Thank you.