Hi,
I have an NI USB 6212 card and I want to send a stream of bits at a fixed clock rate (2KHz) on two ditital lines. The stream is stored as a uint8 vector in a buffer. Length is less than 2K.
I'm using C code and DAQmx drivers.
I looked at various sample codes and discussions but couldn't find any working code. The card manual just directs to DAQmx documentation without any restriction.
The code fails at command DAQmxCfgSampClkTiming (from one of the sample codes) with error -200077.
In some posts I saw that maybe clocked DIO is not supported on this board. If yes how can I know for other cards. Can I use the AO for the same task?
Thank you,
Alecs