qcodes/instrument_drivers/Keysight/keysightb1500/message_builder.py
def wmdcv(self,
              abort: Union[bool, constants.Abort],
              post: Optional[Union[constants.WMDCV.Post, int]] = None
              ) -> 'MessageBuilder':
        """
        This command enables or disables the automatic abort function for
        the CV (AC level) sweep measurement. The automatic abort
        function stops the measurement when one of the following conditions
        occurs.

            - NULL loop unbalance condition
            - IV amplifier saturation condition
            - Overflow on the AD converter

        This command also sets the post measurement condition of the MFCMU.
        After the measurement is normally completed, the MFCMU forces the
        value specified by the post parameter.

        If the measurement is stopped by the automatic abort function,
        the  MFCMU forces the start value.

        Args:
            abort: Automatic abort function. Integer expression. 1 or 2.
                - 1: Disables the function. Initial setting.
                - 2 Enables the function.
            post: AC level value after the measurement is normally
                completed. Possible values,
                - ``constants.WMDCV.Post.START``: Initial setting.
                - ``constants.WMDCV.Post.STOP``: Stop value.
                If this parameter is not set, the MFCMU forces the start value.
        """
        if isinstance(abort, bool):
            _abort = constants.Abort.ENABLED if abort \
                else constants.Abort.DISABLED
        elif isinstance(abort, constants.Abort):
            _abort = abort
        else:
            raise TypeError(f"`abort` argument has to be of type `bool` or "
                            f"`constants.Abort`.")

        cmd = f'WMDCV {_abort}'

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

        self._msg.append(cmd)
        return self

        This command enables or disables the automatic abort function for
        the CV (AC level) sweep measurement. The automatic abort
        function stops the measurement when one of the following conditions
        occurs.

            - NULL loop unbalance condition
            - IV amplifier saturation condition
            - Overflow on the AD converter

        This command also sets the post measurement condition of the MFCMU.
        After the measurement is normally completed, the MFCMU forces the
        value specified by the post parameter.

        If the measurement is stopped by the automatic abort function,
        the  MFCMU forces the start value.

        Args:
            abort: Automatic abort function. Integer expression. 1 or 2.
                - 1: Disables the function. Initial setting.
                - 2 Enables the function.
            post: AC level value after the measurement is normally
                completed. Possible values,
                - ``constants.WMDCV.Post.START``: Initial setting.
                - ``constants.WMDCV.Post.STOP``: Stop value.
                If this parameter is not set, the MFCMU forces the start value.
        
This command enables or disables the automatic abort function for
the CV (AC level) sweep measurement. The automatic abort
function stops the measurement when one of the following conditions
occurs.

NULL loop unbalance condition
IV amplifier saturation condition
Overflow on the AD converter

This command also sets the post measurement condition of the MFCMU.
After the measurement is normally completed, the MFCMU forces the
value specified by the post parameter.

If the measurement is stopped by the automatic abort function,
the  MFCMU forces the start value.
This command enables or disables the automatic abort function for the CV ( AC level ) sweep measurement . The automatic abort function stops the measurement when one of the following conditions occurs . NULL loop unbalance condition IV amplifier saturation condition Overflow on the AD converter This command also sets the post measurement condition of the MFCMU . After the measurement is normally completed the MFCMU forces the value specified by the post parameter . If the measurement is stopped by the automatic abort function the MFCMU forces the start value .
def wmdcv(self,
              abort: Union[bool, constants.Abort],
              post: Optional[Union[constants.WMDCV.Post, int]] = None
              ) -> 'MessageBuilder':
        if isinstance(abort, bool):
            _abort = constants.Abort.ENABLED if abort \
                else constants.Abort.DISABLED
        elif isinstance(abort, constants.Abort):
            _abort = abort
        else:
            raise TypeError(f"`abort` argument has to be of type `bool` or "
                            f"`constants.Abort`.")
        cmd = f'WMDCV {_abort}'
        if post is not None:
            cmd += f',{post}'
        self._msg.append(cmd)
        return self
def wmdcv ( self , abort : Union [ bool , constants . Abort ] , post : Optional [ Union [ constants . WMDCV . Post , int ] ] = None ) -> 'MessageBuilder' : if isinstance ( abort , bool ) : _abort = constants . Abort . ENABLED if abort else constants . Abort . DISABLED elif isinstance ( abort , constants . Abort ) : _abort = abort else : raise TypeError ( f"`abort` argument has to be of type `bool` or " f"`constants.Abort`." ) cmd = f'WMDCV {_abort}' if post is not None : cmd += f',{post}' self . _msg . append ( cmd ) return self
This command enables or disables the automatic abort function for
the CV (AC level) sweep measurement.
This command enables or disables the automatic abort function for the CV ( AC level ) sweep measurement .
"""
        This command enables or disables the automatic abort function for
        the CV (AC level) sweep measurement. The automatic abort
        function stops the measurement when one of the following conditions
        occurs.

            - NULL loop unbalance condition
            - IV amplifier saturation condition
            - Overflow on the AD converter

        This command also sets the post measurement condition of the MFCMU.
        After the measurement is normally completed, the MFCMU forces the
        value specified by the post parameter.

        If the measurement is stopped by the automatic abort function,
        the  MFCMU forces the start value.

        Args:
            abort: Automatic abort function. Integer expression. 1 or 2.
                - 1: Disables the function. Initial setting.
                - 2 Enables the function.
            post: AC level value after the measurement is normally
                completed. Possible values,
                - ``constants.WMDCV.Post.START``: Initial setting.
                - ``constants.WMDCV.Post.STOP``: Stop value.
                If this parameter is not set, the MFCMU forces the start value.
        """
self
abort
Union[bool, constants.Abort]
Automatic abort function. Integer expression. 1 or 2.
1: Disables the function. Initial setting.
2 Enables the function.
Automatic abort function . Integer expression . 1 or 2 . 1 : Disables the function . Initial setting . 2 Enables the function .
post
Optional[Union[constants.WMDCV.Post, int]]
AC level value after the measurement is normally
completed. Possible values,
``constants.WMDCV.Post.START``: Initial setting.
``constants.WMDCV.Post.STOP``: Stop value.
If this parameter is not set, the MFCMU forces the start value.
AC level value after the measurement is normally completed . Possible values ` ` constants . WMDCV . Post . START ` ` : Initial setting . ` ` constants . WMDCV . Post . STOP ` ` : Stop value . If this parameter is not set the MFCMU forces the start value .