pyvisa / pyvisa-sim

A PyVISA backend that simulates a large part of the "Virtual Instrument Software Architecture" (VISA_)
https://pyvisa-sim.readthedocs.io/en/latest/
MIT License
70 stars 39 forks source link

Add support for TCPIP SOCKET instrument #29

Closed MatthieuDartiailh closed 9 years ago

MatthieuDartiailh commented 9 years ago

I will need that for some instrument (Attocube driver for lantz). Could you please indicate me the procedure to follow ? Can I simply duplicate the the TCPIP INSTR implementation or should I be wary of some points ?

hgrecco commented 9 years ago

Yes. Just copy TCPIP INSTR and change after_parsing. Other attributes are handled by sessions.Session, so you do not need to care.

MatthieuDartiailh commented 9 years ago

Done in #30