Hello,
I am trying to use function ljm.listAll() on two different PCs with the same python version 2.7.10 and same labjack installation. When there is no labjack device connected to the PCs, this function is successful on one PC, and gives error code 1316 on another PC. In both cases the connection type is USB and labjack device is t7.
However, when a t7 labjack device is connected with a USB cable, this function is successful on both PCs.
Attached are screenshots for reference.
Please help.
Thanks,
Rohan
It sounds like LJM was potentially not installed correctly on the computer that is producing an error. The LJM installer should have created a file called "ljm_auto_ips.json" inside a temporary directory. On windows this is in the path: "C:\ProgramData\LabJack\LJM". What OS are you using? Also, can you please execute the ReadLibraryConfigS function and read the string parameter 'LJM_LIBRARY_VERSION' to make sure you have the latest version of LJM? If you know where the LabJackM.h file is on your computer you can also open it with a text editor and look at ~line 11. It would be worth while for you to re-download and install the latest version of the LJM driver package for your OS and try running your code again. If re-installing doesn't fix your issue and the .json file still doesn't exist there may be a file permissions issue with the ProgramData/LabJack/LJM folder.