Hi People!
I posted a question also in Digital I/O forum. My problem is that I need to perform fast read and write (digital) operations, with a NI 6509.
I should emulate an older device, and I have to replicate communication parallel protocol. I need to perform scalar write, in the sense that I must be able to use , e.g.,
DAQmxWriteDigitalU8( *** , 0, ***);
DAQmxWriteDigitalU8( *** , 1, ***);
DAQmxWriteDigitalU8( *** , 0, ***);
instead of providing a single Write with a vector of 3 elements.
Using 3 Write functions, spacing between samples is of about 1 millisecond (too big!!!). If I use vector write, I get 5 microseconds between samples, but in some cases, I can't use this approach.
My question is: should I turn back to Traditional DAQ driver, where successive Read-write seems to execute faster? And how can I convert MAX configuration of NIDAQmx parameters into traditional DAQ? If this is not possible,is there a Read/write function in DAQmx that speed up sampling (DAQmxReadScalar? Is it faster?).
Thanks!
graziano