Connecting to Apsin 26G by Anapico in Python
Instrument Card
The APSINXXG is an analog signal generator (analog signal source) series covering RF and microwave frequency ranges from 9 kHz to 12, 20 and 26.5 GHz
Device Specification: here
Manufacturer card: ANAPICO
AnaPicoย is an ISO 9001:2015 certified technology leader, developing, manufacturing and supplying RF and MW test & measurement instruments
- Headquarters: Switzerland
- Yearly Revenue (millions, USD): 5
- Vendor Website: here
Connect to the Apsin 26G in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
This code defines a new class APSIN26G
that represents the Anapico APSIN26G Signal Generator. It inherits from the Instrument
class provided by PyMeasure.
The class defines several properties such as power
, frequency
, blanking
, and reference_output
that can be controlled and queried using the Instrument.control
method. Each property has a corresponding SCPI command for querying and setting its value.
The power
property represents the output power in dBm and is validated using the strict_range
validator with the limits defined in POW_LIMIT
.
The frequency
property represents the output frequency in Hz and is validated using the strict_range
validator with the limits defined in FREQ_LIMIT
.
The blanking
property represents the blanking of output power when the frequency is changed. It can be set to either โONโ or โOFFโ and is validated using the strict_discrete_set
validator.
The reference_output
property represents the 10MHz reference output from the synth. It can be set to either โONโ or โOFFโ and is also validated using the strict_discrete_set
validator.
The enable_rf
method enables the RF output by sending the corresponding SCPI command.
The disable_rf
method disables the RF output by sending the corresponding SCPI command.
The APSIN26G
class can be used to connect to and control an Anapico APSIN26G Signal Generator using PyMeasure.