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/T7/ How to add library into labjack t7 pro?
I will mark this for a Lua expert who is not in the office right now, but in my quick look at your picture I see mention of "socket" and "ftp", and I can tell you that Lua script is not able to open a connection to other devices.
I'm afraid that is not possible at this time. Rather, your website or some other remote software needs to open the connection and read from the T7-Pro.
If you really need the connection to be opened locally, you could connect a Raspberry Pi to the T7-Pro. The Pi can open a connection to the LabJack and to your server.
Looking at your T7 picture, I just see 10 analog input connections. This tells me the T7 communication is going to be very simple for you. Other things your program does when it gets the data are going to take more work, but also might be simple.
Start by using the Dashboard in Kipling to view the readings from the T7 analog inputs to make sure hardware is working as expected. Steps 1-6 of the quickstart:
Then close Kipling and try reading the analog inputs in DAQFactory. The example LJM_Basic.ctl demonstrates how to link T7 registers to DAQFactory Channels, and see the section titled "Linking LabJack Inputs/Outputs to DAQFactory Channels":
The following is probably also of interest to you. This is a UD document (LabJack U3, U6 and UE9), but Sections 4-7 are mostly general DAQFactory information.
I will mark this for a Lua expert who is not in the office right now, but in my quick look at your picture I see mention of "socket" and "ftp", and I can tell you that Lua script is not able to open a connection to other devices.
What i can do for this problem? Any other way to do it ?
What do you want to do?
I want lua able to open a connection to other device. I want send data from my sensor use labjack t7 pro into my website
I'm afraid that is not possible at this time. Rather, your website or some other remote software needs to open the connection and read from the T7-Pro.
If you really need the connection to be opened locally, you could connect a Raspberry Pi to the T7-Pro. The Pi can open a connection to the LabJack and to your server.
Looking for someone to help intergrate the T7 into DAQ Facttory software. Please contact me at [email protected]
I am new to this software and need a helpiing hand.
The following is our page with everything to get you started on linking DAQFactory to a T7 (LJM library):
https://labjack.com/support/software/examples/ljm/daqfactory
For DAQFactory in general, post questions on AzeoTech's forum:
https://support.azeotech.com/
... and if you want to hire someone to do DAQFactory work AzeoTech is the place to go for that too.
Looking at your T7 picture, I just see 10 analog input connections. This tells me the T7 communication is going to be very simple for you. Other things your program does when it gets the data are going to take more work, but also might be simple.
Start by using the Dashboard in Kipling to view the readings from the T7 analog inputs to make sure hardware is working as expected. Steps 1-6 of the quickstart:
https://labjack.com/support/quickstart/t7
Then close Kipling and try reading the analog inputs in DAQFactory. The example LJM_Basic.ctl demonstrates how to link T7 registers to DAQFactory Channels, and see the section titled "Linking LabJack Inputs/Outputs to DAQFactory Channels":
https://labjack.com/support/software/examples/ljm/daqfactory
The following is probably also of interest to you. This is a UD document (LabJack U3, U6 and UE9), but Sections 4-7 are mostly general DAQFactory information.