10-20-2006 09:37 AM - edited 10-20-2006 09:37 AM
Message Edited by evangel55 on 10-20-2006 09:38 AM
10-20-2006 10:20 AM
10-24-2006 12:28 AM
Hi evangel55,
Which DAQmx function are you currently using?
Check out the NI-DAQmx C Reference Help. Based on your post, I think that the DAQmxWriteDigitalLines would work for your purposes. The description is shown below.
int32 DAQmxReadDigitalLines (TaskHandle taskHandle, int32 numSampsPerChan, float64 timeout, bool32 fillMode, uInt8 readArray[], uInt32 arraySizeInBytes, int32 *sampsPerChanRead, int32 *numBytesPerSamp, bool32 *reserved);
Purpose: Reads multiple samples from each digital line in a task. Each line in a channel gets one byte per sample.
Ed W.
10-24-2006 12:30 AM