Connecting to From MG3690C Series by Anritsu in Python
Instrument Card
The MG3690C series of broadband signal generators covers audio, HF, VHF, UHF, RF and microwave frequencies from 0.1 Hz to 70 GHz in single coaxial output and up to 500 GHz or beyond, with external multipliers
Device Specification: here
Manufacturer card: ANRITSU
Anritsu Has Testing Solutions for Automotive, Government, Data Center, & IoT Industries. Test Solutions for IoT Devices, Government Radar, Automotive, & Signal Integrity.
- Headquarters: JAPAN
- Yearly Revenue (millions, USD): 670
- Vendor Website: here
Connect to the From MG3690C Series in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Explanation of the code:
- First, we import the necessary modules from Pymeasure.
- We create a
VISAAdapter
object, specifying the VISA address of the instrument. In this case, the address is “GPIB0::9::INSTR”. - We create an
AnritsuMG3692C
object, passing the adapter as an argument. - We can then use the properties and methods of the
AnritsuMG3692C
object to control the signal generator. For example, we set the output power to -10 dBm using thepower
property, and the output frequency to 1 GHz using thefrequency
property. - We can enable or disable the signal output using the
enable()
anddisable()
methods. - Finally, we call the
shutdown()
method to put the instrument in a safe state.
Note: Make sure you have the necessary dependencies installed, such as pymeasure
and the appropriate VISA library for your instrument.