Closed tsangiotis closed 6 years ago
Hello again,
I tested with smaller signals. While decrementing one second at the time, the problem goes away if I use six second signal.
It seems like some buffering issue.
Any ideas on the subject?
The timeout variable in test-usb20X was hard coded to too small a value. I've put in a dynamic value that you may need to play around with, or set to 0 for infinite time. Different processors have different latency times, so it is hard to find a "one size fits all" algorithm. I've tested the code with your example on a desktop and it works now.
Hello! Thanks again for your work on these libraries.
I am trying to measure 10 second signals from 3 channels on the DAQ. Halfway through the measurement, the values go to 240 Volts. This cannot be correct.
I did not have this problem when measuring 2 channels at this or higher samples/frequency combinations.
I also tried multiple lower frequency combinations with no luck.
I have connected the USB-201 to some low voltage sensors but that happens even with empty terminals.
On my Android phone using the official apps I do not get these problems.
Here is the output of the test program on this scenario.