Instrument screen capture via GPIB
A simple python script/example to save a screenshot from the E4407B spectrum analyzer via GPIB. It was written because it was the only spectrum analzyer I had access to at the time. This model has no USB interface, and the floppy drive was broken, so I had no interface to save data other than GPIB.
Python and NI-VISA are installed from their binaries. A system restart is needed after installing NI-VISA.
PyVISA and Pipenv are installed via pip:
pip install PyVISA Pipenv
Next, install the Pipenv requirements from the Pipfile:
pipenv install
pipenv run python main.py
Or run/double-click ‘capture.bat’
This project is licensed under the MIT License.