Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

"... this version of DAQmx Write does not match the type of channels in the task" on PCI 6527

Hi!
I'am using PCI-6527 with the NIDAQmx library under Visual C++. I'am creating a channel named "dev1/port3". Now I'am trying to write - the code line looks as follows:
DAQmxWriteDigitalU8(taskHandle, 1, 1, 0, DAQmx_Val_GroupByChannel, &data, &written, NULL)
... the line fails with information from DAQmxGetExtendedErrorInfo "... write does not match ..."
When I'am doing it like that:
DAQmxWriteDigitalLines(taskHandle, 1, 1, 0, DAQmx_Val_GroupByChannel, data, &written, NULL)
... everything works fine ...

I can't find out what I'am doing wrong! What version do I need???

Regards
0 Kudos
Message 1 of 2
(2,962 Views)
... solved ... my error
0 Kudos
Message 2 of 2
(2,962 Views)