Skip to content

Commit

Permalink
Creating a dummy driver for the SHFPPC
Browse files Browse the repository at this point in the history
  • Loading branch information
msamiotis committed Sep 5, 2024
1 parent 6c98015 commit 8b4c05b
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions pycqed/instrument_drivers/meta_instrument/HAL/HAL_ShimSQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,8 @@ def _add_ro_parameters(self):

# added by RDC 16/09/2023, PPC
self.add_parameter(
'cancellation_phase',
initial_value=180,
'pump_on',
initial_value=False,
parameter_class=ManualParameter)

self.add_parameter(
Expand All @@ -647,11 +647,21 @@ def _add_ro_parameters(self):
'pump_power',
initial_value=-20,
parameter_class=ManualParameter)

self.add_parameter(
'cancellation_on',
initial_value=False,
parameter_class=ManualParameter)

self.add_parameter(
'cancellation_attenuation',
initial_value=0,
parameter_class=ManualParameter)

self.add_parameter(
'cancellation_phase',
initial_value=180,
parameter_class=ManualParameter)

#############################
# RO acquisition parameters #
Expand Down Expand Up @@ -1385,7 +1395,10 @@ def prepare_PPC(self,
SHFPPC channel; either communicates with Channel 1 (paramp_channel = 0)
or Channel 2 (paramp_channel = 1).
"""
device_SHFPPC.ppchannels[paramp_channel].synthesizer.pump.on(self.pump_on())
device_SHFPPC.ppchannels[paramp_channel].synthesizer.pump.freq(self.pump_freq())
device_SHFPPC.ppchannels[paramp_channel].synthesizer.pump.power(self.pump_power())

device_SHFPPC.ppchannels[paramp_channel].cancellation.on(self.cancellation_on())
device_SHFPPC.ppchannels[paramp_channel].cancellation.phaseshift(self.cancellation_phase())
device_SHFPPC.ppchannels[paramp_channel].cancellation.attenuation(self.cancellation_attenuation())
device_SHFPPC.ppchannels[paramp_channel].cancellation.attenuation(self.cancellation_attenuation())

0 comments on commit 8b4c05b

Please sign in to comment.