katonag
2007-05-23 09:40:11 UTC
I'd like to program a high speed digital output, where data is generated by my PCIe6536 'on the fly'.
This means I'd like to program pipelined, buffered, burst digital OUTPUT with the buffer filled by using the every N samples event.
(I already managed to program such operation for the input direction, and I'd like to use the card in both direction [16bit in/16bit out] simultaneously in the future)
I only found the example DAQmx AO Every N Samples on the developer zone but simply exchanging AO to DO does not worked.
I don't undestand the meaning of the line
DAQmxSetAODataXferReqCond(taskHandle, channel, 10235) and on the other hand it generated error -200452 on my card.
Can somebody explain me how to write this DO task / do somebody has an example?
thx
I'd like to program a high speed digital output, where data is generated by my PCIe6536 'on the fly'.
This means I'd like to program pipelined, buffered, burst digital OUTPUT with the buffer filled by using the every N samples event.
(I already managed to program such operation for the input direction, and I'd like to use the card in both direction [16bit in/16bit out] simultaneously in the future)
I only found the example DAQmx AO Every N Samples on the developer zone but simply exchanging AO to DO does not worked.
I don't undestand the meaning of the line
DAQmxSetAODataXferReqCond(taskHandle, channel, 10235) and on the other hand it generated error -200452 on my card.
Can somebody explain me how to write this DO task / do somebody has an example?
thx