hello?
I want to make continuous signal measurement using dt8837.
I am programming using labview,
Sampling is 51200 and adc channel 0 was collected in wrap enalbe mode.
A normal waveform is shown on the graph until about 11.5 hours, but after that, an error occurs in the acquisition fetch.
AnalogInTachCounterStreaming.vi example was modified and used.
As in the basic example, the following expression is applied to fetch as an input variable.
RequestedScansIndex = ActualScansIndex + ActualScansRead
When ActualScansIndex is about 2^31, the sum of ActualScansRead becomes a negative value.
2147481601 + 5120 = -2147480575
If this value is entered in RequestedScansIndex at the time of 12 hours execution, an error occurs during the fetch process.
According to DT8837.chm file, RequestedScansIndex is 0 to (2097152/number of channel).
I understand that the lower limit must not be a negative value.
The upper limit works normally up to 2^31, so the above explanation doesn't seem right.
When the added value becomes a negative value, I tested it by changing the overflow amount to a positive value.
Even in that case, after 12 hours the fetch will not proceed any further.
2147481601 + 5120 = -2147480575 => 3073
What value should RequestedScansIndex be after 2^31 for successive acquisitions?
thank you
AnalogInTachCounterStreaming_MOD.vi