qcodes/instrument_drivers/Keysight/keysightb1500/message_builder.py
def bssv(self,
             chnum: Union[constants.ChNr, int],
             polarity: Union[constants.Polarity, int],
             offset: float,
             i_comp: Optional[float] = None
             ) -> 'MessageBuilder':
        """
        The BSSV command sets the synchronous voltage source for the binary
        search measurement (MM15). The synchronous source output will be:
        Synchronous source output = polarity * BSV source output + offset
        where BSV source output means the output set by the BSV command. This
        command setting is cleared by the BSI/BSV command.

        Execution conditions: The BSV command must be sent before sending this
        command.

        See also: For the source output value, output range, and the
        available compliance values, see Table 4-7 on page 24, Table 4-9 on
        page 26, Table 4-12 on page 27, or Table 4-15 on page 28 for each
        measurement resource type.

        Args:
            chnum: SMU synchronous source channel number. Integer
                expression. 1 to 10 or 101 to 1001. See Table 4-1 on page 16.

            polarity: Polarity of the BSSV output for the BSV output.
                0: Negative. ``BSSV output = -BSV output + offset``
                1: Positive. ``BSSV output = BSV output + offset``

            offset: Offset voltage (in V). Numeric expression.
                See Table 4-7 on page 24, Table 4-9 on page 26, Table 4-12
                on page 27, or Table 4-15 on page 28 for each measurement
                resource type. Both primary and synchronous search sources
                will use the same output range. So check the output range
                set to the BSV command to determine the synchronous source
                outputs.

            i_comp: Current compliance value (in A). Numeric expression.
                If you do not specify Icomp, the previous value is set.
                Zero amps (0 A) is not a valid value for the Icomp parameter.
        """
        cmd = f'BSSV {chnum},{polarity},{offset}'

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

        self._msg.append(cmd)
        return self

        The BSSV command sets the synchronous voltage source for the binary
        search measurement (MM15). The synchronous source output will be:
        Synchronous source output = polarity * BSV source output + offset
        where BSV source output means the output set by the BSV command. This
        command setting is cleared by the BSI/BSV command.

        Execution conditions: The BSV command must be sent before sending this
        command.

        See also: For the source output value, output range, and the
        available compliance values, see Table 4-7 on page 24, Table 4-9 on
        page 26, Table 4-12 on page 27, or Table 4-15 on page 28 for each
        measurement resource type.

        Args:
            chnum: SMU synchronous source channel number. Integer
                expression. 1 to 10 or 101 to 1001. See Table 4-1 on page 16.

            polarity: Polarity of the BSSV output for the BSV output.
                0: Negative. ``BSSV output = -BSV output + offset``
                1: Positive. ``BSSV output = BSV output + offset``

            offset: Offset voltage (in V). Numeric expression.
                See Table 4-7 on page 24, Table 4-9 on page 26, Table 4-12
                on page 27, or Table 4-15 on page 28 for each measurement
                resource type. Both primary and synchronous search sources
                will use the same output range. So check the output range
                set to the BSV command to determine the synchronous source
                outputs.

            i_comp: Current compliance value (in A). Numeric expression.
                If you do not specify Icomp, the previous value is set.
                Zero amps (0 A) is not a valid value for the Icomp parameter.
        
The BSSV command sets the synchronous voltage source for the binary
search measurement (MM15). The synchronous source output will be:
Synchronous source output = polarity * BSV source output + offset
where BSV source output means the output set by the BSV command. This
command setting is cleared by the BSI/BSV command.

Execution conditions: The BSV command must be sent before sending this
command.

See also: For the source output value, output range, and the
available compliance values, see Table 4-7 on page 24, Table 4-9 on
page 26, Table 4-12 on page 27, or Table 4-15 on page 28 for each
measurement resource type.
The BSSV command sets the synchronous voltage source for the binary search measurement ( MM15 ) . The synchronous source output will be : Synchronous source output = polarity * BSV source output + offset where BSV source output means the output set by the BSV command . This command setting is cleared by the BSI / BSV command . Execution conditions : The BSV command must be sent before sending this command . See also : For the source output value output range and the available compliance values see Table 4 - 7 on page 24 Table 4 - 9 on page 26 Table 4 - 12 on page 27 or Table 4 - 15 on page 28 for each measurement resource type .
def bssv(self,
             chnum: Union[constants.ChNr, int],
             polarity: Union[constants.Polarity, int],
             offset: float,
             i_comp: Optional[float] = None
             ) -> 'MessageBuilder':
        cmd = f'BSSV {chnum},{polarity},{offset}'
        if i_comp is not None:
            cmd += f',{i_comp}'
        self._msg.append(cmd)
        return self
def bssv ( self , chnum : Union [ constants . ChNr , int ] , polarity : Union [ constants . Polarity , int ] , offset : float , i_comp : Optional [ float ] = None ) -> 'MessageBuilder' : cmd = f'BSSV {chnum},{polarity},{offset}' if i_comp is not None : cmd += f',{i_comp}' self . _msg . append ( cmd ) return self
The BSSV command sets the synchronous voltage source for the binary
search measurement (MM15).
The BSSV command sets the synchronous voltage source for the binary search measurement ( MM15 ) .
"""
        The BSSV command sets the synchronous voltage source for the binary
        search measurement (MM15). The synchronous source output will be:
        Synchronous source output = polarity * BSV source output + offset
        where BSV source output means the output set by the BSV command. This
        command setting is cleared by the BSI/BSV command.

        Execution conditions: The BSV command must be sent before sending this
        command.

        See also: For the source output value, output range, and the
        available compliance values, see Table 4-7 on page 24, Table 4-9 on
        page 26, Table 4-12 on page 27, or Table 4-15 on page 28 for each
        measurement resource type.

        Args:
            chnum: SMU synchronous source channel number. Integer
                expression. 1 to 10 or 101 to 1001. See Table 4-1 on page 16.

            polarity: Polarity of the BSSV output for the BSV output.
                0: Negative. ``BSSV output = -BSV output + offset``
                1: Positive. ``BSSV output = BSV output + offset``

            offset: Offset voltage (in V). Numeric expression.
                See Table 4-7 on page 24, Table 4-9 on page 26, Table 4-12
                on page 27, or Table 4-15 on page 28 for each measurement
                resource type. Both primary and synchronous search sources
                will use the same output range. So check the output range
                set to the BSV command to determine the synchronous source
                outputs.

            i_comp: Current compliance value (in A). Numeric expression.
                If you do not specify Icomp, the previous value is set.
                Zero amps (0 A) is not a valid value for the Icomp parameter.
        """
self
chnum
Union[constants.ChNr, int]
SMU synchronous source channel number. Integer
expression.
SMU synchronous source channel number . Integer expression .
polarity
Union[constants.Polarity, int]
Polarity of the BSSV output for the BSV output.
0: Negative. ``BSSV output = -BSV output + offset``
1: Positive. ``BSSV output = BSV output + offset``
Polarity of the BSSV output for the BSV output . 0 : Negative . ` ` BSSV output = - BSV output + offset ` ` 1 : Positive . ` ` BSSV output = BSV output + offset ` `
offset
float
Offset voltage (in V). Numeric expression.
See Table 4-7 on page 24, Table 4-9 on page 26, Table 4-12
on page 27, or Table 4-15 on page 28 for each measurement
resource type. Both primary and synchronous search sources
will use the same output range. So check the output range
set to the BSV command to determine the synchronous source
outputs.
Offset voltage ( in V ) . Numeric expression . See Table 4 - 7 on page 24 Table 4 - 9 on page 26 Table 4 - 12 on page 27 or Table 4 - 15 on page 28 for each measurement resource type . Both primary and synchronous search sources will use the same output range . So check the output range set to the BSV command to determine the synchronous source outputs .
i_comp
Optional[float]
Current compliance value (in A). Numeric expression.
If you do not specify Icomp, the previous value is set.
Zero amps (0 A) is not a valid value for the Icomp parameter.
Current compliance value ( in A ) . Numeric expression . If you do not specify Icomp the previous value is set . Zero amps ( 0 A ) is not a valid value for the Icomp parameter .