Connecting to Keysight MAwgDef by Keysight in Python
Instrument Card
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 MAwgDef in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Keysight MAwgDef RF Signal Generator using Qcodes, you can use the following Python script:
This script imports the necessary modules and creates an instance of the Keysight_MAwgDef
instrument driver. It then connects to the instrument using the specified VISA address. You can replace 'TCPIP0::192.168.1.1::inst0::INSTR'
with the actual VISA address of your instrument.
The script then demonstrates some basic operations such as printing the instrument ID, setting the output frequency and power, enabling the output, and finally disconnecting from the instrument.
Note: Make sure you have installed the necessary dependencies and the Qcodes library before running this script.