Hi,
I'm using Labjack T7 to get data from AIN#. I successed read data one by one, but when i try using in stream mode, i have a problem.
In my embedded project(C language) it's impossible using LJM library, then i research some code example that demonstrate low level streaming , in usb connection.
My firmware is 1.0242.
In this link https://github.com/labjack/exodriver/tree/master/examples there are a lot of code example to stream low level, but to U9, U6 and others, not to T7 .
If you can post some code example for this, or some direction to solve it, it is very helpful for me.
Thanks in advance,
Shira
The lowlevel streaming documentation for T7s is here:
https://labjack.com/support/datasheets/t-series/communication/stream-mode/low-level-streaming
There is a link to a C example at the bottom of that page.
Thanks a lot for your quick replay.
But what about labjackusb.h library, i can not use this? like U9, U6, U3...
In header of labjackusb.h file is written:
Library for accessing U3, U6, UE9, SkyMote bridge, T4, T7, and Digit devices over USB.
But no example for using in this library to get data in stream mode in T7 like them. i.e, using LJUSB_Stream function, without assign ip address to device, only with using usb connection.
This is really supported in T7?
If yes, there is a link with example for it?
Thanks for your help.
labjackusb (Exodriver) does support the T7, but there are no examples for using it to stream from a T7. To stream from a T7 using Exodriver, you'll need to read and write values using LJUSB_WriteTO, LJUSB_ReadTO, and LJUSB_StreamTO using the lowlevel stream documentation (linked to above). The example code should help—you should be able to essentially replace TCP calls with USB calls. You'll need to take into account the USB max packet size, which is 64 bytes. Search the entire example download for "USB".
If it interests you: LJM runs on ARM machines like Raspberry Pi. If your project could use a single-board computer like the Pi, it would make things much easier for you. If you need for us to compile LJM for a new architecture, let us know what architecture and we'll see what we can do for you.