acidbourbon / M8195A_scripts

helper scripts for the keysight M8195A rev1 AWG
9 stars 0 forks source link

Why not use pyvisa #1

Open Siriusy opened 3 years ago

Siriusy commented 3 years ago

Thank you for your work and sharing, I am really interested in this project, because I also have this AWG. But I am a little confused that why not use pyvisa directly?

acidbourbon commented 3 years ago

Hi. Thank you for your interest in this project! There is, indeed, no absolutely good reason to not use pyvisa (or python-vxi11). I got a code snippet from a colleague who established a connection with the device via some old script. And I simply built on that. I might be tempted to re-implement the basic command sending functions in python-vxi11 (which I personally and unreasonably prefer over pyvisa because of very particular experiences with very particular lab devices) if I find the time.