diff --git a/qualang_tools/wirer/instruments/instruments.py b/qualang_tools/wirer/instruments/instruments.py index f4a507ac..e65696eb 100644 --- a/qualang_tools/wirer/instruments/instruments.py +++ b/qualang_tools/wirer/instruments/instruments.py @@ -82,6 +82,12 @@ def add_opx_plus(self, controllers: Union[List[int], int]): channel = InstrumentChannelOpxPlusOutput(con=controller, port=port) self.available_channels.add(channel) - for port in range(1, NUM_OPX_PLUS_DIGITAL_OUTPUT_PORTS + 1): + # add odd first for octave connectivity (top row is more convenient) + for port in range(1, NUM_OPX_PLUS_DIGITAL_OUTPUT_PORTS + 1, 2): + channel = InstrumentChannelOpxPlusDigitalOutput(con=controller, port=port) + self.available_channels.add(channel) + + # then add evens + for port in range(2, NUM_OPX_PLUS_DIGITAL_OUTPUT_PORTS + 1, 2): channel = InstrumentChannelOpxPlusDigitalOutput(con=controller, port=port) self.available_channels.add(channel) diff --git a/qualang_tools/wirer/wirer/channel_specs.py b/qualang_tools/wirer/wirer/channel_specs.py index 72166d94..22b8af0b 100644 --- a/qualang_tools/wirer/wirer/channel_specs.py +++ b/qualang_tools/wirer/wirer/channel_specs.py @@ -147,3 +147,4 @@ def __init__(self, con: int = None, in_port: int = None): opx_iq_spec = ChannelSpecOpxPlusBaseband opx_iq_octave_spec = ChannelSpecOpxPlusBasebandAndOctave octave_spec = ChannelSpecOctave +opx_dig_spec = ChannelSpecOpxPlusDigital