Post by vasilis on Jan 4, 2024 1:52:01 GMT -5
Hello all,
I have been interfacing a temperature controller model 335 and interfacing on a windows 7 computer via GPIB. I am changing the computer (Windows 10) and I decided to try out the USB connection. I was able to download the drivers via Windows update, and I checked that they are the same versions are the ones manually downloaded from the lakeshore website. The USB cable is short (50 cm, did try different cables) and properly connected.
I am trying to use python to interface with the device.
Summary
USB connection fails to establish communication between the computer and the device while GPIB interfacing works as expected.
What are some next steps I can take to troubleshoot this?
I have been interfacing a temperature controller model 335 and interfacing on a windows 7 computer via GPIB. I am changing the computer (Windows 10) and I decided to try out the USB connection. I was able to download the drivers via Windows update, and I checked that they are the same versions are the ones manually downloaded from the lakeshore website. The USB cable is short (50 cm, did try different cables) and properly connected.
I am trying to use python to interface with the device.
- I tried using pyvisa, where I get the resourceManager, I list the devices and then I attempt to open the resource (e.g. port/name 'ASRL8::INSTR'). I am able to open the resource. However, Whatever I write, the reading times out. I followed all the troubleshooting instructions per the manual. Whichever termination characters with or without commands I have tried (even the basic '*IDN?') the read always times out. I have tried to increase the time out time, and also give plenty of time between write and read (I also tried query).
- I tried using the python software lakeshore provides. I attempt to open 'COM8' with baud rate of 9600. The first attempt times out (I set the timeout to 10 s), the second attempt is access-denied (PermissionError(13, 'Acces is denied.', None, 5), and the third attempt goes back to timing out, etc.
- I tried the same thing on another computer. I have tried with different USB cables of different sizes. The above behavior was always the same.
- On the other computer (also windows 10), I tried using the NIMAX application to view and access the device. The result was the same as trial #1 (with python pyvisa).
- I checked the GPIB connection on the second computer (as in #4), and the device responds as expected.
Summary
USB connection fails to establish communication between the computer and the device while GPIB interfacing works as expected.
What are some next steps I can take to troubleshoot this?