qcodes/instrument_drivers/Keysight/keysightb1500/message_builder.py
def bgv(self,
            chnum: Union[constants.ChNr, int],
            searchmode: Union[constants.BinarySearchMode, int],
            stop_condition: Union[float, int],
            v_range: Union[constants.VMeasRange, int],
            target: float
            ) -> 'MessageBuilder':
        """
        The BGV command specifies the voltage monitor channel and its search
        parameters for the binary search measurement (MM15). This command
        setting clears, and is cleared by, the BGI command setting. This
        command ignores the RV command setting.

        Remarks: In the limit search mode, if search cannot find the search
        target and the following two conditions are satisfied,
        the KeysightB1500 repeats the binary search between the last source
        value and the source start value.

        - target is between the data at source start value and the last
          measurement data.
        - target is between the data at source stop value and the data at:
          ``source value = | stop - start | / 2``.

        If the search cannot find the search target and the following two
        conditions are satisfied, the KeysightB1500 repeats the binary search
        between the last source value and the source stop value.

        - target is between the data at source stop value and the last
          measurement data.
        - target is between the data at source start value and the data at:
          ``source value = | stop - start | / 2``.

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

            searchmode: Search mode (0:limit mode or 1:repeat mode)

            stop_condition: The meaning of stop_condition depends on the
                mode setting.

                if mode==0: Limit value for the search target (target). The
                search stops when the monitor data reaches target
                +- stop_condition. Numeric expression. Positive value. in V.
                Setting resolution: range/20000. where range means the
                measurement range actually used for the measurement.

                if mode==1: Repeat count. The search stops when the repeat
                count of the operation that changes the source output value
                is over the specified value. Numeric expression. 1 to 16.

            v_range: Measurement ranging type. Integer expression. The
                measurement range will be set to the minimum range that
                covers the target value. For the limited auto ranging,
                the instrument never uses the range less than the specified
                range. See Table 4-2 on page 17.

            target: Search target voltage (in V).
                Numeric expression.

                    - 0 to +-100 V (MPSMU/HRSMU) 0 to +-200 V (HPSMU)
                    - 0 to +-30 V (MCSMU)
                    - 0 to +-40 V (HCSMU/DHCSMU)
                    - 0 to +-3000 V (HVSMU)
        """
        cmd = f'BGV {chnum},{searchmode},{stop_condition},{v_range},{target}'

        self._msg.append(cmd)
        return self

        The BGV command specifies the voltage monitor channel and its search
        parameters for the binary search measurement (MM15). This command
        setting clears, and is cleared by, the BGI command setting. This
        command ignores the RV command setting.

        Remarks: In the limit search mode, if search cannot find the search
        target and the following two conditions are satisfied,
        the KeysightB1500 repeats the binary search between the last source
        value and the source start value.

        - target is between the data at source start value and the last
          measurement data.
        - target is between the data at source stop value and the data at:
          ``source value = | stop - start | / 2``.

        If the search cannot find the search target and the following two
        conditions are satisfied, the KeysightB1500 repeats the binary search
        between the last source value and the source stop value.

        - target is between the data at source stop value and the last
          measurement data.
        - target is between the data at source start value and the data at:
          ``source value = | stop - start | / 2``.

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

            searchmode: Search mode (0:limit mode or 1:repeat mode)

            stop_condition: The meaning of stop_condition depends on the
                mode setting.

                if mode==0: Limit value for the search target (target). The
                search stops when the monitor data reaches target
                +- stop_condition. Numeric expression. Positive value. in V.
                Setting resolution: range/20000. where range means the
                measurement range actually used for the measurement.

                if mode==1: Repeat count. The search stops when the repeat
                count of the operation that changes the source output value
                is over the specified value. Numeric expression. 1 to 16.

            v_range: Measurement ranging type. Integer expression. The
                measurement range will be set to the minimum range that
                covers the target value. For the limited auto ranging,
                the instrument never uses the range less than the specified
                range. See Table 4-2 on page 17.

            target: Search target voltage (in V).
                Numeric expression.

                    - 0 to +-100 V (MPSMU/HRSMU) 0 to +-200 V (HPSMU)
                    - 0 to +-30 V (MCSMU)
                    - 0 to +-40 V (HCSMU/DHCSMU)
                    - 0 to +-3000 V (HVSMU)
        
The BGV command specifies the voltage monitor channel and its search
parameters for the binary search measurement (MM15). This command
setting clears, and is cleared by, the BGI command setting. This
command ignores the RV command setting.

In the limit search mode, if search cannot find the search
target and the following two conditions are satisfied,
the KeysightB1500 repeats the binary search between the last source
value and the source start value.

target is between the data at source start value and the last
measurement data.
target is between the data at source stop value and the data at:
``source value = | stop - start | / 2``.

If the search cannot find the search target and the following two
conditions are satisfied, the KeysightB1500 repeats the binary search
between the last source value and the source stop value.

target is between the data at source stop value and the last
measurement data.
target is between the data at source start value and the data at:
``source value = | stop - start | / 2``.
The BGV command specifies the voltage monitor channel and its search parameters for the binary search measurement ( MM15 ) . This command setting clears and is cleared by the BGI command setting . This command ignores the RV command setting . In the limit search mode if search cannot find the search target and the following two conditions are satisfied the KeysightB1500 repeats the binary search between the last source value and the source start value . target is between the data at source start value and the last measurement data . target is between the data at source stop value and the data at : ` ` source value = | stop - start | / 2 ` ` . If the search cannot find the search target and the following two conditions are satisfied the KeysightB1500 repeats the binary search between the last source value and the source stop value . target is between the data at source stop value and the last measurement data . target is between the data at source start value and the data at : ` ` source value = | stop - start | / 2 ` ` .
def bgv(self,
            chnum: Union[constants.ChNr, int],
            searchmode: Union[constants.BinarySearchMode, int],
            stop_condition: Union[float, int],
            v_range: Union[constants.VMeasRange, int],
            target: float
            ) -> 'MessageBuilder':
        cmd = f'BGV {chnum},{searchmode},{stop_condition},{v_range},{target}'
        self._msg.append(cmd)
        return self
def bgv ( self , chnum : Union [ constants . ChNr , int ] , searchmode : Union [ constants . BinarySearchMode , int ] , stop_condition : Union [ float , int ] , v_range : Union [ constants . VMeasRange , int ] , target : float ) -> 'MessageBuilder' : cmd = f'BGV {chnum},{searchmode},{stop_condition},{v_range},{target}' self . _msg . append ( cmd ) return self
The BGV command specifies the voltage monitor channel and its search
parameters for the binary search measurement (MM15).
The BGV command specifies the voltage monitor channel and its search parameters for the binary search measurement ( MM15 ) .
"""
        The BGV command specifies the voltage monitor channel and its search
        parameters for the binary search measurement (MM15). This command
        setting clears, and is cleared by, the BGI command setting. This
        command ignores the RV command setting.

        Remarks: In the limit search mode, if search cannot find the search
        target and the following two conditions are satisfied,
        the KeysightB1500 repeats the binary search between the last source
        value and the source start value.

        - target is between the data at source start value and the last
          measurement data.
        - target is between the data at source stop value and the data at:
          ``source value = | stop - start | / 2``.

        If the search cannot find the search target and the following two
        conditions are satisfied, the KeysightB1500 repeats the binary search
        between the last source value and the source stop value.

        - target is between the data at source stop value and the last
          measurement data.
        - target is between the data at source start value and the data at:
          ``source value = | stop - start | / 2``.

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

            searchmode: Search mode (0:limit mode or 1:repeat mode)

            stop_condition: The meaning of stop_condition depends on the
                mode setting.

                if mode==0: Limit value for the search target (target). The
                search stops when the monitor data reaches target
                +- stop_condition. Numeric expression. Positive value. in V.
                Setting resolution: range/20000. where range means the
                measurement range actually used for the measurement.

                if mode==1: Repeat count. The search stops when the repeat
                count of the operation that changes the source output value
                is over the specified value. Numeric expression. 1 to 16.

            v_range: Measurement ranging type. Integer expression. The
                measurement range will be set to the minimum range that
                covers the target value. For the limited auto ranging,
                the instrument never uses the range less than the specified
                range. See Table 4-2 on page 17.

            target: Search target voltage (in V).
                Numeric expression.

                    - 0 to +-100 V (MPSMU/HRSMU) 0 to +-200 V (HPSMU)
                    - 0 to +-30 V (MCSMU)
                    - 0 to +-40 V (HCSMU/DHCSMU)
                    - 0 to +-3000 V (HVSMU)
        """
self
chnum
Union[constants.ChNr, int]
SMU search monitor channel number. Integer expression.
SMU search monitor channel number . Integer expression .
searchmode
Union[constants.BinarySearchMode, int]
None
stop_condition
Union[float, int]
The meaning of stop_condition depends on the
mode setting.

if mode==0: Limit value for the search target (target). The
search stops when the monitor data reaches target
+- stop_condition. Numeric expression. Positive value. in V.
Setting resolution: range/20000. where range means the
measurement range actually used for the measurement.

if mode==1: Repeat count. The search stops when the repeat
count of the operation that changes the source output value
is over the specified value. Numeric expression.
The meaning of stop_condition depends on the mode setting . if mode == 0 : Limit value for the search target ( target ) . The search stops when the monitor data reaches target + - stop_condition . Numeric expression . Positive value . in V . Setting resolution : range / 20000 . where range means the measurement range actually used for the measurement . if mode == 1 : Repeat count . The search stops when the repeat count of the operation that changes the source output value is over the specified value . Numeric expression .
v_range
Union[constants.VMeasRange, int]
Measurement ranging type. Integer expression. The
measurement range will be set to the minimum range that
covers the target value. For the limited auto ranging,
the instrument never uses the range less than the specified
range. See Table 4-2 on page 17.
Measurement ranging type . Integer expression . The measurement range will be set to the minimum range that covers the target value . For the limited auto ranging the instrument never uses the range less than the specified range . See Table 4 - 2 on page 17 .
target
float
Search target voltage (in V).
Numeric expression.


Search target voltage ( in V ) . Numeric expression .