qcodes/instrument_drivers/Keysight/keysightb1500/message_builder.py
def cal_query(self, slot: Optional[Union[constants.SlotNr, int]] = None
                  ) -> 'MessageBuilder':
        """
        This query command performs the self-calibration, and returns the
        results. After this command, read the results soon. Module condition
        after this command is the same as the condition by the CL command.

        Execution Conditions: No channel must be in the high voltage state
        (forcing more than the allowable voltage for the interlock open
        condition, or voltage compliance set to more than it).

        Before starting the calibration, open the measurement terminals.

        Args:
            slot: Slot number where the module under self-calibration has
                been installed. 1 to 10. Or 0 or 11. Integer expression.

                    - 0: All modules and mainframe. Default setting.
                    - 11: Mainframe.

                If slot specifies the slot that installs no module,
                this command causes an error.
        """
        cmd = '*CAL?'

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

        self._msg.append(cmd)
        return self

        This query command performs the self-calibration, and returns the
        results. After this command, read the results soon. Module condition
        after this command is the same as the condition by the CL command.

        Execution Conditions: No channel must be in the high voltage state
        (forcing more than the allowable voltage for the interlock open
        condition, or voltage compliance set to more than it).

        Before starting the calibration, open the measurement terminals.

        Args:
            slot: Slot number where the module under self-calibration has
                been installed. 1 to 10. Or 0 or 11. Integer expression.

                    - 0: All modules and mainframe. Default setting.
                    - 11: Mainframe.

                If slot specifies the slot that installs no module,
                this command causes an error.
        
This query command performs the self-calibration, and returns the
results. After this command, read the results soon. Module condition
after this command is the same as the condition by the CL command.

Execution Conditions: No channel must be in the high voltage state
(forcing more than the allowable voltage for the interlock open
condition, or voltage compliance set to more than it).

Before starting the calibration, open the measurement terminals.
This query command performs the self - calibration and returns the results . After this command read the results soon . Module condition after this command is the same as the condition by the CL command . Execution Conditions : No channel must be in the high voltage state ( forcing more than the allowable voltage for the interlock open condition or voltage compliance set to more than it ) . Before starting the calibration open the measurement terminals .
def cal_query(self, slot: Optional[Union[constants.SlotNr, int]] = None
                  ) -> 'MessageBuilder':
        cmd = '*CAL?'
        if slot is not None:
            cmd += f' {slot}'
        self._msg.append(cmd)
        return self
def cal_query ( self , slot : Optional [ Union [ constants . SlotNr , int ] ] = None ) -> 'MessageBuilder' : cmd = '*CAL?' if slot is not None : cmd += f' {slot}' self . _msg . append ( cmd ) return self
This query command performs the self-calibration, and returns the
results.
This query command performs the self - calibration and returns the results .
"""
        This query command performs the self-calibration, and returns the
        results. After this command, read the results soon. Module condition
        after this command is the same as the condition by the CL command.

        Execution Conditions: No channel must be in the high voltage state
        (forcing more than the allowable voltage for the interlock open
        condition, or voltage compliance set to more than it).

        Before starting the calibration, open the measurement terminals.

        Args:
            slot: Slot number where the module under self-calibration has
                been installed. 1 to 10. Or 0 or 11. Integer expression.

                    - 0: All modules and mainframe. Default setting.
                    - 11: Mainframe.

                If slot specifies the slot that installs no module,
                this command causes an error.
        """
self
slot
Optional[Union[constants.SlotNr, int]]
Slot number where the module under self-calibration has
been installed. 1 to 10.

All modules and mainframe. Default setting.
11: Mainframe.

If slot specifies the slot that installs no module,
this command causes an error.
Slot number where the module under self - calibration has been installed . 1 to 10 . All modules and mainframe . Default setting . 11 : Mainframe . If slot specifies the slot that installs no module this command causes an error .