As of May 2, 2022 the LabJack forums have been set to read-only.
If you are in need of support, please contact us via one of the methods described on our contact page.
Home/Forums/U3/ Is it possible to read data of i2c device using the stream mode?
Is it possible to read data of i2c device using the stream mode?
I see. Besides, the I2C command differs depending on the device.
Is it possible to adjust the streaming data rate appropriately and explicitly access the I2C device in the reading loop? It seems that there is no problem depending on the data rate if the I2C device is fast enough.
That does work. While the device is streaming you can issue a command to run an I2C operation. The timing of the clock on I2C is flexible, so short interruptions from stream operations reduce the clock speed, but do not interfere with the transmission otherwise.
No. Serial operations are too slow to work with stream mode.
I see. Besides, the I2C command differs depending on the device.
Is it possible to adjust the streaming data rate appropriately and explicitly access the I2C device in the reading loop? It seems that there is no problem depending on the data rate if the I2C device is fast enough.
How is that?
That does work. While the device is streaming you can issue a command to run an I2C operation. The timing of the clock on I2C is flexible, so short interruptions from stream operations reduce the clock speed, but do not interfere with the transmission otherwise.