skrf.vi.vna.NanoVNAv2.__init__¶
- NanoVNAv2.__init__(address='ASRL/dev/ttyACM0::INSTR')[source]¶
Initialize a network analyzer object
- Parameters
address (str) – a visa resource string, or an ip address
kwargs (dict) – visa_library (str), timeout in milliseconds (int), card_number (int), interface (str)
Notes
General initialization of a skrf vna object. Defines the class methods that all subclasses should provide, and therefore defines the basic functionality, currently focused on grabbing data more than on controlling the state of the vna
- Keyword Arguments
visa_library (str) – allows pyvisa to use different visa_library backends, including the python-based pyvisa-py. backend which can handle SOCKET and Serial (though not GPIB) connections. It should be possible to use this library without NI-VISA libraries installed if the analyzer is so configured.
timeout (int) – milliseconds
interface (str) – one of “SOCKET”, “GPIB”
card_number (int) – for GPIB, default is usually 0
- Parameters
address (str) –