I am using a NI9402 embedded in a NI9191 Wi-Fi Chassis.
The input lines on the NI9402 are coming from a cRIO:
Line0: Clock at 1 Mbps
Line1: Data at 1 Mbps
The NI9191 Chasis is conected to the computer via Wifi and has been configured with NI-MAX program. (Ad-hoc network NI9191 - Computer).
In the code, the acquisition is set to continuous mode and Line0 is used as a clock to trigger the samples.
For reading the Samples from Line1 I call DAQmxReadDigitalLines in a loop.
After running the code for few seconds i get an overflow error on the NI9191 Wifi device.
Could someone specify which is the maximum speed at which samples can be transfered from NI9191 to the computer via Wifi ?
I noticed that if I use Ethernet, it takes a little bit longer to display the Overflow error but I eventually get it anyway.
Thank you very much for your help,
Error:
DAQmx Error: Onboard device memory overflow. Because of system and/or bus-bandwidth limitations, the driver could not read data from the device fast enough to keep up with the device throughput.
Reduce your sample rate. If your data transfer method is interrupts, try using DMA or USB Bulk. You can also use a product with more onboard memory or reduce the number of programs your computer is executing