|
Post by alexisp on Sept 1, 2020 11:27:29 GMT -5
I am using a GPIB connection to connect to a lakeshore 336 temperature controller. I would like to run the controller using Python. In writing the following I receive a "no serial connection error"
Code: from lakeshore import Model336 LS=Model336()
Error:
Traceback(most recent call last): File "C:/Users/Lab/Documents/CV Programs/LossTangentTemp.py", line 17, in <module> LS=Model336() File "C:/Python27\lib\site-packages\lakeshore\model_336.py", line 28, in __init__(handshaking, timeout, ip_address, tcp_port,**kwargs File "C:/ Python27\lib\site-packages\lakeshore\generic_instrument.py", line 39, in __init__(timeout, handshaking, flowcontrol) File "C:/ Python27\lib\site-packages\lakeshore\generic_instrument.py", line 165, in connect_usb (raise InstrumentException("No serial connections found") InstrumentException: No Serial Connections Found
In checking the connection using NI Max it seems the instrument can be found and read by the computer. Any help on this would be appreciated.
|
|
|
Post by qreynard on Dec 15, 2021 5:11:28 GMT -5
Hi,
I am dealing with the same issue, have you managed to find out how to get connected to your device ?
Best
|
|