| Products > Test Equipment |
| Python + GPIB (Prefer ethernet) + Windows - Recommendations? |
| (1/2) > >> |
| inaxeon:
Hey folks Can anyone recommend what a solution to meet the above requirements? All I want is to program GPIB stuff in Python, preferable over ethernet, I'm on Windows. |
| alm:
I'd get something that implements VXI-11. They can easily be used through python-vxi11, PyVISA-py or python-ivi. This saves you from the mess of having to install a huge VISA framework like NI-VISA or Keysight IO libraries, and keeps everything in pure Python that is much more stable and less hassle to set up in my experience. I have good experiences with the HP E2050A, Agilent/Keysight E5810A, Tektronix AD007 and the TAMS L488. This open source GPIB ethernet adapter might also work, but I haven't tried it. |
| switchabl:
I have had the best experience with the NI stuff, it has been pretty much rock solid and seems to work with basically any instrument (PCI and USB adapters, haven't used their Ethernet gateway). I think NI-VISA is around 1GB these days, I don't really care anymore, as long as it does the job. +1 for PyVISA, it is easy to use and has a backend for NI-VISA as well. If you want to switch to the native PyVISA-py backend (or vice versa) later on, it is trivial. |
| alm:
--- Quote from: switchabl on July 19, 2022, 11:44:46 am ---I have had the best experience with the NI stuff, it has been pretty much rock solid and seems to work with basically any instrument (PCI and USB adapters, haven't used their Ethernet gateway). I think NI-VISA is around 1GB these days, I don't really care anymore, as long as it does the job. --- End quote --- The Ethernet / VXI-11 solutions will keep working for as long as Ethernet over copper and Python are supported. You could run it on an Android device if you wanted to. The PCI/USB solutions will keep working for as long as the manufacturer (e.g. NI) decide to support them on the platform you use. I've been burned by this before, for example NI not supporting their GPIB-USB devices on Linux versions released in the last decade. Never mind supporting hardware like Raspberry Pi. To me, unless you want to use software that requires NI-VISA/Keysight IO Libraries (e.g. LabView or BenchVue), they are not worth the hassle anymore. Installing a pure Python module like python-vxi11 is just so much easier. Your use case may vary. |
| jjoonathan:
Yes, python-vxi11 / pyvisa-py / ethernet is the way! No PCI/USB drivers, no morbidly obese vendor libraries, no Windows (it works on Windows, but it doesn't need Windows), no nonsense. Just python and ethernet. Beautiful. I use AD007 Ethernet->GPIB adapters which are the first ones I tried. They work great. |
| Navigation |
| Message Index |
| Next page |