06-12-2007 06:25 PM
06-13-2007 02:37 PM
Hi HTL,
What are you using to combine your waveforms? It seems like you are taking more samples to acquire your digital waveform compared to your analog waveform. Can post a screen shot of your code? It is very hard to debug this without looking at how you are performing your acquisition and how you are combining the waveforms.
06-13-2007 07:29 PM
06-14-2007 07:52 PM
06-15-2007 09:09 AM
I just went into NI Measurement and Automation Explorer to check the task settings for the anolog read and digital read. They are both at "continuous" mode with sample to read=100, rate=1k. Is there something else I can try? By the way, I have been getting the same number of analog data as digital data. It's just that they don't line up against each other once in a while. And the occurance of such incidence is pretty random [i.e. it doesn't occur every certain # of rows]. So it must be some inconsistant processing error that causes this.
In addition, I am getting error code -200279 for the anology read function and the error code -200010 for the digital read function when I'm probing them. But I couldn't find these codes in the Ranges of LabVIEW Error Codes document from NI. Are these special error codes? Can you tell me what they mean?
Thanks
HTL
06-18-2007 04:10 PM - edited 06-18-2007 04:10 PM
HTL,
The code below shows you how to set the number of samples per channel when performing a read. This is an input to the DAQmx read channel.
Message Edited by Abhinav T on 06-18-2007 04:10 PM
Message Edited by Abhinav T on 06-18-2007 04:10 PM