08-20-2009 07:03 PM
Dear Forums,
I am trying to use a PXI-6608 to timestamp the sample clock of a PXI-4498 during analog input. Because the sample rate will be on the order of 20KHz, I want to use a pulse generation task on one counter to divide it down by a factor of 1000, then use that pulse as the gate and the 10MHz clock on the 6608 as the source in a buffered edge -- I expect about 20 edges per second, which should be very manageable to retrieve over DMA.
The result is that I get error -200279 ("attempting to read samples no longer available") immediately after the vi starts, before I have retrieved even one count.
This is my first stab at using DAQmx for counter/timer instead of the old DAQ drivers, so I'm sure I've done something wrong, but I can't figure out what.
I've attached the vi if that helps.
Thanks!
Cas
Solved! Go to Solution.
08-21-2009 09:48 AM
08-21-2009 09:48 AM
08-21-2009 02:04 PM
Bingo! Thanks so much. I wish the DAQmx docs were more clear on this. The docs refer to source, gate, etc., but the vi's don't.
Anyway, thanks again. This is why we love the NI forums! CW