qcodes/instrument_drivers/Keysight/keysightb1500/message_builder.py
def ach(self,
            actual: Optional[Union[constants.ChNr, int]] = None,
            program: Optional[Union[constants.ChNr, int]] = None
            ) -> 'MessageBuilder':
        """
        The ACH command translates the specified program channel number to
        the specified actual channel number at the program execution. This
        command is useful when you use a control program created for an
        instrument, such as the 4142B, 4155B/4155C/4156B/4156C/E5260/E5270,
        and KeysightB1500, that has a module configuration different from the
        KeysightB1500 actually you use. After the ACH command, enter the
        ``*OPC?`` command to confirm that the command execution is completed.

        Args:
            actual: Channel number actually set to the KeysightB1500 instead
                of program. Integer expression. 1 to 10 or 101 to 1002. See
                Table 4-1 on page 16.

            program: Channel number used in a program and will be replaced
                with actual. Integer expression. If you do not set program,
                this command is the same as ``ACH n,n``.

                If you do not set actual and program, all channel number
                mapping is cleared.

        Remarks: The ACH commands must be put at the beginning of the
        program or before the command line that includes a program channel
        number. In the program lines that follow the ACH command, you must
        leave the program channel numbers. The measurement data is returned
        as the data of the channel program, not actual.
        """
        if program is None:
            if actual is None:
                cmd = 'ACH'
            else:
                cmd = f'ACH {actual}'
        else:
            cmd = f'ACH {actual},{program}'

        self._msg.append(cmd)
        return self

        The ACH command translates the specified program channel number to
        the specified actual channel number at the program execution. This
        command is useful when you use a control program created for an
        instrument, such as the 4142B, 4155B/4155C/4156B/4156C/E5260/E5270,
        and KeysightB1500, that has a module configuration different from the
        KeysightB1500 actually you use. After the ACH command, enter the
        ``*OPC?`` command to confirm that the command execution is completed.

        Args:
            actual: Channel number actually set to the KeysightB1500 instead
                of program. Integer expression. 1 to 10 or 101 to 1002. See
                Table 4-1 on page 16.

            program: Channel number used in a program and will be replaced
                with actual. Integer expression. If you do not set program,
                this command is the same as ``ACH n,n``.

                If you do not set actual and program, all channel number
                mapping is cleared.

        Remarks: The ACH commands must be put at the beginning of the
        program or before the command line that includes a program channel
        number. In the program lines that follow the ACH command, you must
        leave the program channel numbers. The measurement data is returned
        as the data of the channel program, not actual.
        
The ACH command translates the specified program channel number to
the specified actual channel number at the program execution.
The ACH command translates the specified program channel number to the specified actual channel number at the program execution .
def ach(self,
            actual: Optional[Union[constants.ChNr, int]] = None,
            program: Optional[Union[constants.ChNr, int]] = None
            ) -> 'MessageBuilder':
        if program is None:
            if actual is None:
                cmd = 'ACH'
            else:
                cmd = f'ACH {actual}'
        else:
            cmd = f'ACH {actual},{program}'
        self._msg.append(cmd)
        return self
def ach ( self , actual : Optional [ Union [ constants . ChNr , int ] ] = None , program : Optional [ Union [ constants . ChNr , int ] ] = None ) -> 'MessageBuilder' : if program is None : if actual is None : cmd = 'ACH' else : cmd = f'ACH {actual}' else : cmd = f'ACH {actual},{program}' self . _msg . append ( cmd ) return self
The ACH command translates the specified program channel number to
the specified actual channel number at the program execution.
The ACH command translates the specified program channel number to the specified actual channel number at the program execution .
"""
        The ACH command translates the specified program channel number to
        the specified actual channel number at the program execution. This
        command is useful when you use a control program created for an
        instrument, such as the 4142B, 4155B/4155C/4156B/4156C/E5260/E5270,
        and KeysightB1500, that has a module configuration different from the
        KeysightB1500 actually you use. After the ACH command, enter the
        ``*OPC?`` command to confirm that the command execution is completed.

        Args:
            actual: Channel number actually set to the KeysightB1500 instead
                of program. Integer expression. 1 to 10 or 101 to 1002. See
                Table 4-1 on page 16.

            program: Channel number used in a program and will be replaced
                with actual. Integer expression. If you do not set program,
                this command is the same as ``ACH n,n``.

                If you do not set actual and program, all channel number
                mapping is cleared.

        Remarks: The ACH commands must be put at the beginning of the
        program or before the command line that includes a program channel
        number. In the program lines that follow the ACH command, you must
        leave the program channel numbers. The measurement data is returned
        as the data of the channel program, not actual.
        """
self
actual
Optional[Union[constants.ChNr, int]]
Channel number actually set to the KeysightB1500 instead
of program. Integer expression.
Channel number actually set to the KeysightB1500 instead of program . Integer expression .
program
Optional[Union[constants.ChNr, int]]
Channel number used in a program and will be replaced
with actual. Integer expression. If you do not set program,
this command is the same as ``ACH n,n``.

If you do not set actual and program, all channel number
mapping is cleared.
Channel number used in a program and will be replaced with actual . Integer expression . If you do not set program this command is the same as ` ` ACH n n ` ` . If you do not set actual and program all channel number mapping is cleared .