Hello everyone,
First of all, thanks in advance for any assistance or insight you can provide. Here is a summary of my application:
I have a PXI-6143 card that will be performing 3 operations:
1. Sample 1 to 8 analog inputs on the rising edges of the a-pulse of a rotary encoder.
2. Measure the period of the a-pulse of the rotary encoder.
3. Count the rotary encoder z-pulse and log the count on each rising edge of the encoder a-pulse.
The card will be performing these tasks continuously for 12s. The frequency range of the a-pulse is 12kHz to 192kHz.
Here is the problem -- I have been unable to drive the input frequency higher than roughly 100kHz. If the input frequency reaches ~108kHz, Labview responds with error 200141, "Data was overwritten before it could be read by the system."
In my testing so far, I am fairly certain that this error does not result from inaccuracy in the period of the Labview service loop. The loop period will vary by about a millisecond or so, but I've sized the 6143 buffer to ensure that Labview retrieves the data quickly enough to avoid buffer overflow. It appears to me that this error is the result of a frequency limitation in the internal data bus of the 6143. Can anyone comment?
Again, thanks for your help.
-dave sprinkle