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/U6/ How to control multiple U6 using python in Ubuntu?
How to control multiple U6 using python in Ubuntu?
How to control multiple U6 using python in Ubuntu?
I saw different LocalID can be assigned using LJControlPanel in Windows environment. How to do similar thing in Linux? The purpose is to control 6 Labjack U6 in one program on Ubuntu.
If using LabJackPython, when creating your U6 object or using the open method, use the localId or serial parameters to specify the device and set firstFound parameter to False. For example:
import u6
u6Dev1 = u6.U6(localId=1, firstFound=False) # Open first U6 with Local ID 1 u6Dev2 = u6.U6(serial=360005735, firstFound=False) # Open second U6 with serial number 360005735
Use the configU6 method after opening a U6 if you want to read/change the local ID. For documentation, use the Python help function with u6.U6.__init__, u6.U6.open and u6.U6.configU6 .
If using LabJackPython, when creating your U6 object or using the open method, use the localId or serial parameters to specify the device and set firstFound parameter to False. For example:
import u6
u6Dev1 = u6.U6(localId=1, firstFound=False) # Open first U6 with Local ID 1
u6Dev2 = u6.U6(serial=360005735, firstFound=False) # Open second U6 with serial number 360005735
Use the configU6 method after opening a U6 if you want to read/change the local ID. For documentation, use the Python help function with u6.U6.__init__, u6.U6.open and u6.U6.configU6 .