If I spend anymore time with pyvisa and USBTMC, I'm going to have even less hair on my head than I do.
80% of the time spent writing instrument automation code is getting to the first success *IDN?.
@baldengineer A couple weeks ago I had to connect a laser that could only be controlled using websocket, was quite an adventure in a university network and with no real prior networking experience
@monotrox99 Funny. I was thinking earlier today what would someone in my position do if they didn't have 30 years of futzing with this stuff.
VXI > IVI > LXI || VISA && USBTMC || GPIB || Serial || libusb
And that's just to talk to a DMM.
In Windows, pyvisa cannot see USBTMC devices. In Linux, I can see them fine, but one just randomly stops responding.
Fortunately, it seems like LAN works most of the time.
(It's all made easier if you use NI-VISA, but after reading its licensing, you cannot use it when you are not working with either NI hardware or software...)