qcodes/instrument_drivers/Keysight/keysightb1500/message_builder.py
def ca(self, slot: Optional[Union[constants.SlotNr, int]] = None
           ) -> 'MessageBuilder':
        """
        This command performs the self-calibration.

        The ``*OPC?`` command should be entered after this command to confirm
        the completion of the self-calibration. 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.

        Remarks: Failed modules are disabled, and can only be enabled by the
        RCV command.

        Note: To send CA command to Keysight KeysightB1500 installed with ASU
        If you send the CA command to the KeysightB1500 installed with the ASU
        (Atto Sense and Switch Unit), the KeysightB1500 executes the
        self-calibration and the 1 pA range offset measurement for the
        measurement channels connected to the ASUs. The offset data is
        temporarily memorized until the KeysightB1500 is turned off, and is
        used for the compensation of the data measured by the 1 pA range of the
        channels. The KeysightB1500 performs the data compensation
        automatically and returns the compensated data. Since the
        KeysightB1500 is turned on, if you do not send the CA command,
        the KeysightB1500 performs the data compensation by using the
        pre-stored offset data.

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

                If slot is not specified, the self-calibration is performed
                for the mainframe and all modules.

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

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

        self._msg.append(cmd)
        return self

        This command performs the self-calibration.

        The ``*OPC?`` command should be entered after this command to confirm
        the completion of the self-calibration. 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.

        Remarks: Failed modules are disabled, and can only be enabled by the
        RCV command.

        Note: To send CA command to Keysight KeysightB1500 installed with ASU
        If you send the CA command to the KeysightB1500 installed with the ASU
        (Atto Sense and Switch Unit), the KeysightB1500 executes the
        self-calibration and the 1 pA range offset measurement for the
        measurement channels connected to the ASUs. The offset data is
        temporarily memorized until the KeysightB1500 is turned off, and is
        used for the compensation of the data measured by the 1 pA range of the
        channels. The KeysightB1500 performs the data compensation
        automatically and returns the compensated data. Since the
        KeysightB1500 is turned on, if you do not send the CA command,
        the KeysightB1500 performs the data compensation by using the
        pre-stored offset data.

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

                If slot is not specified, the self-calibration is performed
                for the mainframe and all modules.

                If slot specifies the slot that installs no module,
                this command causes an error.
        
This command performs the self-calibration.
The ``*OPC?`` command should be entered after this command to confirm
the completion of the self-calibration. 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.

Failed modules are disabled, and can only be enabled by the
RCV command.

To send CA command to Keysight KeysightB1500 installed with ASU
If you send the CA command to the KeysightB1500 installed with the ASU
(Atto Sense and Switch Unit), the KeysightB1500 executes the
self-calibration and the 1 pA range offset measurement for the
measurement channels connected to the ASUs. The offset data is
temporarily memorized until the KeysightB1500 is turned off, and is
used for the compensation of the data measured by the 1 pA range of the
channels. The KeysightB1500 performs the data compensation
automatically and returns the compensated data. Since the
KeysightB1500 is turned on, if you do not send the CA command,
the KeysightB1500 performs the data compensation by using the
pre-stored offset data.
This command performs the self - calibration . The ` ` * OPC? ` ` command should be entered after this command to confirm the completion of the self - calibration . 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 . Failed modules are disabled and can only be enabled by the RCV command . To send CA command to Keysight KeysightB1500 installed with ASU If you send the CA command to the KeysightB1500 installed with the ASU ( Atto Sense and Switch Unit ) the KeysightB1500 executes the self - calibration and the 1 pA range offset measurement for the measurement channels connected to the ASUs . The offset data is temporarily memorized until the KeysightB1500 is turned off and is used for the compensation of the data measured by the 1 pA range of the channels . The KeysightB1500 performs the data compensation automatically and returns the compensated data . Since the KeysightB1500 is turned on if you do not send the CA command the KeysightB1500 performs the data compensation by using the pre - stored offset data .
def ca(self, slot: Optional[Union[constants.SlotNr, int]] = None
           ) -> 'MessageBuilder':
        cmd = 'CA'
        if slot is not None:
            cmd += f' {slot}'
        self._msg.append(cmd)
        return self
def ca ( self , slot : Optional [ Union [ constants . SlotNr , int ] ] = None ) -> 'MessageBuilder' : cmd = 'CA' if slot is not None : cmd += f' {slot}' self . _msg . append ( cmd ) return self
This command performs the self-calibration.
This command performs the self - calibration .
"""
        This command performs the self-calibration.

        The ``*OPC?`` command should be entered after this command to confirm
        the completion of the self-calibration. 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.

        Remarks: Failed modules are disabled, and can only be enabled by the
        RCV command.

        Note: To send CA command to Keysight KeysightB1500 installed with ASU
        If you send the CA command to the KeysightB1500 installed with the ASU
        (Atto Sense and Switch Unit), the KeysightB1500 executes the
        self-calibration and the 1 pA range offset measurement for the
        measurement channels connected to the ASUs. The offset data is
        temporarily memorized until the KeysightB1500 is turned off, and is
        used for the compensation of the data measured by the 1 pA range of the
        channels. The KeysightB1500 performs the data compensation
        automatically and returns the compensated data. Since the
        KeysightB1500 is turned on, if you do not send the CA command,
        the KeysightB1500 performs the data compensation by using the
        pre-stored offset data.

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

                If slot is not specified, the self-calibration is performed
                for the mainframe and all modules.

                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. Integer expression.

If slot is not specified, the self-calibration is performed
for the mainframe and all modules.

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 . Integer expression . If slot is not specified the self - calibration is performed for the mainframe and all modules . If slot specifies the slot that installs no module this command causes an error .