qcodes/instrument_drivers/Keysight/keysightb1500/message_builder.py
def adj_query(self,
                  chnum: Union[constants.ChNr, int],
                  mode: Optional[Union[constants.ADJQuery.Mode, int]] = None
                  ) -> 'MessageBuilder':
        """
        This command performs the MFCMU phase compensation, and sets the
        compensation data to the KeysightB1500. This command also returns the
        execution results.

        This command resets the MFCMU. Before executing this command, set the
        phase compensation mode to manual by using the ADJ command. During this
        command, open the measurement terminals at the end of the device side.
        This command execution will take about 30 seconds. The compensation
        data is cleared by turning the KeysightB1500 off.

        Query response:

            - 0: Phase compensation measurement was normally completed.
            - 1: Phase compensation measurement failed.
            - 2: Phase compensation measurement was aborted.
            - 3: Phase compensation measurement has not been performed.

        Args:
            chnum: MFCMU channel number. Integer expression. 1 to 10 or
                101 to 1001. See Table 4-1 on page 16.
            mode: Command operation mode. 0: Use the last phase compensation
                data without measurement. 1: Perform the phase compensation
                data measurement. If the mode parameter is not set, mode=1
                is set.
        """
        cmd = f'ADJ? {chnum}'

        if mode is not None:
            cmd += f',{mode}'

        self._msg.append(cmd)
        return self

        This command performs the MFCMU phase compensation, and sets the
        compensation data to the KeysightB1500. This command also returns the
        execution results.

        This command resets the MFCMU. Before executing this command, set the
        phase compensation mode to manual by using the ADJ command. During this
        command, open the measurement terminals at the end of the device side.
        This command execution will take about 30 seconds. The compensation
        data is cleared by turning the KeysightB1500 off.

        Query response:

            - 0: Phase compensation measurement was normally completed.
            - 1: Phase compensation measurement failed.
            - 2: Phase compensation measurement was aborted.
            - 3: Phase compensation measurement has not been performed.

        Args:
            chnum: MFCMU channel number. Integer expression. 1 to 10 or
                101 to 1001. See Table 4-1 on page 16.
            mode: Command operation mode. 0: Use the last phase compensation
                data without measurement. 1: Perform the phase compensation
                data measurement. If the mode parameter is not set, mode=1
                is set.
        
This command performs the MFCMU phase compensation, and sets the
compensation data to the KeysightB1500. This command also returns the
execution results.

This command resets the MFCMU. Before executing this command, set the
phase compensation mode to manual by using the ADJ command. During this
command, open the measurement terminals at the end of the device side.
This command execution will take about 30 seconds. The compensation
data is cleared by turning the KeysightB1500 off.

Query response.

Phase compensation measurement was normally completed.
1: Phase compensation measurement failed.
2: Phase compensation measurement was aborted.
3: Phase compensation measurement has not been performed.
This command performs the MFCMU phase compensation and sets the compensation data to the KeysightB1500 . This command also returns the execution results . This command resets the MFCMU . Before executing this command set the phase compensation mode to manual by using the ADJ command . During this command open the measurement terminals at the end of the device side . This command execution will take about 30 seconds . The compensation data is cleared by turning the KeysightB1500 off . Query response . Phase compensation measurement was normally completed . 1 : Phase compensation measurement failed . 2 : Phase compensation measurement was aborted . 3 : Phase compensation measurement has not been performed .
def adj_query(self,
                  chnum: Union[constants.ChNr, int],
                  mode: Optional[Union[constants.ADJQuery.Mode, int]] = None
                  ) -> 'MessageBuilder':
        cmd = f'ADJ? {chnum}'
        if mode is not None:
            cmd += f',{mode}'
        self._msg.append(cmd)
        return self
def adj_query ( self , chnum : Union [ constants . ChNr , int ] , mode : Optional [ Union [ constants . ADJQuery . Mode , int ] ] = None ) -> 'MessageBuilder' : cmd = f'ADJ? {chnum}' if mode is not None : cmd += f',{mode}' self . _msg . append ( cmd ) return self
This command performs the MFCMU phase compensation, and sets the
compensation data to the KeysightB1500.
This command performs the MFCMU phase compensation and sets the compensation data to the KeysightB1500 .
"""
        This command performs the MFCMU phase compensation, and sets the
        compensation data to the KeysightB1500. This command also returns the
        execution results.

        This command resets the MFCMU. Before executing this command, set the
        phase compensation mode to manual by using the ADJ command. During this
        command, open the measurement terminals at the end of the device side.
        This command execution will take about 30 seconds. The compensation
        data is cleared by turning the KeysightB1500 off.

        Query response:

            - 0: Phase compensation measurement was normally completed.
            - 1: Phase compensation measurement failed.
            - 2: Phase compensation measurement was aborted.
            - 3: Phase compensation measurement has not been performed.

        Args:
            chnum: MFCMU channel number. Integer expression. 1 to 10 or
                101 to 1001. See Table 4-1 on page 16.
            mode: Command operation mode. 0: Use the last phase compensation
                data without measurement. 1: Perform the phase compensation
                data measurement. If the mode parameter is not set, mode=1
                is set.
        """
self
chnum
Union[constants.ChNr, int]
MFCMU channel number. Integer expression.
MFCMU channel number . Integer expression .
mode
Optional[Union[constants.ADJQuery.Mode, int]]
Command operation mode. 0: Use the last phase compensation
data without measurement. 1: Perform the phase compensation
data measurement. If the mode parameter is not set, mode=1
is set.
Command operation mode . 0 : Use the last phase compensation data without measurement . 1 : Perform the phase compensation data measurement . If the mode parameter is not set mode = 1 is set .