T7 Pro + LUA + RESTful | LabJack
 

T7 Pro + LUA + RESTful

2 posts / 0 new
Last post
AMV
avictor's picture
T7 Pro + LUA + RESTful

I'm new to the standalone programming feature with the T7 Pro, but I'd like to exploit this device to create a data logging system that sends data (JSON) to a network database.

Does any have information on whether this is possible or not?  I've heard the T7 doesn't support socket.io.

Thanks!

LabJack Support
labjack support's picture
Unfortunately, the T7 will

Unfortunately, the T7 will not be able to send data as a JSON from an onboard Lua script. More generally, the T7 is not capable of using internet protocols to talk to a remote target. Also note that T-series devices are Modbus TCP servers:

https://labjack.com/support/datasheets/t-series/communication

One potential solution is to take measurements from the device with a small SBC like a Raspberry Pi, then interface the SBC with your database. The following page has related information:

https://labjack.com/support/app-notes/networking/labjack-internet