|
|
 | | From: | cwierzynski | | Subject: | Number of samples read is not equal to number of AI Sample Clock pulses - why? | | Date: | Fri, 21 Jan 2005 17:41:04 -0600 (CST) |
|
|
 | Dear Community,
I am using several PXI-4472s for acquisition and at = the same time I am routing the AI Sample Clock signal to a PXI-6608 counter= /timer card so that I can time stamp each sample.
Unfortunately I a= m finding that I always get more AI Sample Clock pulses than samples, so I = don't know which time stamp corresponds to which sample. Why is that? r>For acquisition I am using something very much like the following DAQmx S= ync and Stream example: display.DISPLAY_EPD4?p_guid=3DD5C11EA57D0E635FE034080020E74861&p_node=3DDZ5= 2260" target=3D_blank>Sync and Stream.vi
After stopping the task= s, I use DAQmx Read vi again to read whatever samples might be left in the = buffer, but that request always comes back empty. I can't figure out if the= re are AI Sample Clock pulses at the beginning of the task that don't actua= lly acquire any data, or if I have data left over in the buffer after I sto= p the task that I am not reading properly.
Any help would be greatly= appreciated!
Cas
|
|
|