Connecting to Keysight P9374A by Keysight in Python
Instrument Card
P9374A Keysight Streamline USB Vector Network Analyzer, 20 GHz. Compact, faceless, USB vector network analyzer (VNA). Affordable full two-port VNA which dramatically reduces your size of test. Up to 20 GHz.
Device Specification: here
Manufacturer card: KEYSIGHT
Keysight Technologies, or Keysight, is an American company that manufactures electronics test and measurement equipment and software
- Headquarters: USA
- Yearly Revenue (millions, USD): 5420
- Vendor Website: here
Connect to the Keysight P9374A in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Explanation:
- Import the necessary modules:
qcodes
and theKeysightP9374A
instrument driver. - Create an instance of the
KeysightP9374A
instrument with a name (‘pna’) and the instrument’s address (‘TCPIP0::192.168.1.1::inst0::INSTR’). - Connect to the instrument using the
connect()
method. - Perform operations with the instrument, in this case, calling the
get_options()
method. - Disconnect from the instrument using the
disconnect()
method.