Replies: 2 comments
-
@occoder Thansk for the question. Visa is an abstraction over many different types of connection so the most obvious advantage of using visa is that the same driver will work if you connect the instrument over USB/Ethernet/GPIB etc. Regarding persistent you may want to check a few other things. There could be a difference between various visa implementations. I would try the ones from Keysight and National instruments. |
Beta Was this translation helpful? Give feedback.
-
@jenshnielsen Thanks for the quick response. |
Beta Was this translation helpful? Give feedback.
-
Hi
I have an oscilloscope that supports SCPI command over LAN connection.
The driver of this device could be either based on IPInstrument or VisaInstrument.
As I read "Use of
VisaInstrument
is promoted instead of this." in ip.py, I took VisaInstrument as my base class.However, I found some strange behavior that needs me have to set persistent=False. The VisaInstrument seems not to support this parameter.
So I'm considering to resort to IPInstrument class.
My question is what is the advantage VisaInstrument over IPInstrument ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions