Closed openedhardware closed 7 years ago
Any thought on this?
Look at test-usb1608G.c for the "C" option for continuous sampling. In that case, count=0 for continuous sampling. You should ignore retrig_count (unless you want re-triggering) Burst mode tries to sample all the channels at once. For only one channel, burst mode has no effect.
I am going to use the raspberry pi to poll analog input data from USB1608G device continuously in the speed of 50ksps.
In the Linux driver, you had developed, I found there is a function something like this:
usbAInScanStart_USB1608G(libusb_device_handle *udev, uint32_t count, uint32_t retrig_count, double frequency,uint8_t options)
count
parameter here?burst
mode by setting the 1st bit ofoptions
to 1? or normal mode?