QCoDeS example with Valon 5015ΒΆ

The Valon 5015 frequency synthesizer uses multiple phase lock loops to provide exceptionally low phase noise over the 10MHz to 15GHz range. The multiple loop technique also greatly reduced spurs while providing high resolution tuning precision. Calibrated output power may be accurately set from +13dBm down to -30dBm in 0.1dB steps.

[ ]:
from qcodes_contrib_drivers.drivers.Valon.Valon_5015 import Valon5015

Be sure to specify the correct IP address in the constructor. If the driver cannot find the device, a VisaIOError is raised.

[2]:
ip = "192.168.0.3"
valon = Valon5015(name="Valon", address=f"TCPIP0::{ip}::23::SOCKET")

Get status of the device:

[3]:
status = valon.status()
print(status)
Valon Technology, 5015, 12203435, R6  version 1.3c   Build: May  8 2023  17:01:59
      VBAT = 1223   5.911 V
      IBAT =  336   0.108 Amps  0.638 Watts
      UPTS = 1725    21.9 C
       +5V =    0   0.000 V
       -5V = 3654   0.451 V
   +3.3VRF =  121   0.194 V
   +3.3V   =   30   0.048 V
        LM =   31   11111
  uP clock =   72 MHz
       UID = 43194144 34555430 05d4ff35  REV_ID,DEV_ID=10016418  CR=0x0
FLASH size =  256k
  Max freq = 15 GHz

Get the device identifying string:

[4]:
id = valon.id()
print(id)
Valon Technology, 5015, 12203435, R6  version 1.3c   Build: May  8 2023  17:01:59

Set device parameters:

[5]:
valon.frequency(10e6)
valon.offset(100.5)
valon.power(0.5)
valon.modulation_db(0.5)
valon.modulation_frequency(100)
valon.low_power_mode_enabled(True)
valon.buffer_amplifiers_enabled(True)

Retrieve device parameters:

[6]:
frequency = valon.frequency()
offset = valon.offset()
power = valon.power()
modulation_db = valon.modulation_db()
modulation_frequency = valon.modulation_frequency()
low_power_mode_enabled = valon.low_power_mode_enabled()
buffer_amplifiers_enabled = valon.buffer_amplifiers_enabled()

print("Frequency: ", frequency)
print("Offset: ", offset)
print("Power: ", power)
print("Modulation dB: ", modulation_db)
print("Modulation Frequency: ", modulation_frequency)
print("Low Power Mode Enabled: ", low_power_mode_enabled)
print("Buffer Amplifiers Enabled: ", buffer_amplifiers_enabled)

Frequency:  10000000.0
Offset:  100.0
Power:  0.5
Modulation dB:  0.5
Modulation Frequency:  10.0
Low Power Mode Enabled:  True
Buffer Amplifiers Enabled:  True