qcodes/instrument_drivers/Keysight/keysightb1500/message_builder.py
def wdcv(self,
             chnum: Union[constants.ChNr, int],
             mode: Union[constants.SweepMode, int],
             start: float,
             stop: float,
             step: float,
             i_comp: Optional[float] = None
             ) -> 'MessageBuilder':
        """
        This command sets the DC bias sweep source used for the CV (DC bias)
        sweep measurement (MM18). The sweep source will be MFCMU or SMU.
        Execution Conditions: The CN/CNX command has been executed for the
        specified channel. If you want to apply DC voltage over +/- 25 V using
        the SCUU, the SCUU must be connected correctly. The SCUU can be used
        with the MFCMU and two SMUs (MPSMU or HRSMU). The SCUU cannot be
        used if the HPSMU is connected to the SCUU or if the number of SMUs
        connected to the SCUU is only one. If the output voltage is greater
        than the allowable voltage for the interlock open condition,
        the interlock circuit must be shorted.

        Args:
            chnum : MFCMU or SMU channel number.
                Integer expression. 1 to 10 or 101 to 1001.
                See Table 4-1 on page 16.
            mode : Sweep mode. Integer expression.
                1: Linear sweep (single stair, start to stop.)
                2: Log sweep (single stair, start to stop.)
                3: Linear sweep (double stair, start to stop to start.)
                4: Log sweep (double stair, start to stop to start.)
            start : Start value of the DC bias sweep (in V). Numeric expression.
                For the log sweep, start and stop must have the same polarity.
                See Table 4-7 on page 24, Table 4-9 on page 26, or Table
                4-12 on page 27 for each measurement resource type. For
                MFCMU, 0 (initial setting) to +/- 25 V (MFCMU) or +/- 100 V (
                with SCUU) With the SCUU, the source module is automatically
                selected by the setting value. The MFCMU is used if the
                start and stop values are below +/- 25 V
                (setting resolution: 0.001 V), or the SMU is used if they
                are greater than +/- 25 V (setting resolution: 0.005 V). The
                SMU connected to the SCUU will operate with the 100 V
                limited auto ranging and 20 mA compliance settings.
            stop : Stop value of the DC bias sweep (in V).
            step : Number of steps for staircase sweep.
                Numeric expression. 1 to 1001.
            i_comp : Available only for SMU. An error occurs if the Icomp
                value is specified for the MFCMU.
                Current compliance (in A). Numeric expression.
                See Table 4-7 on page 24, Table 4-9 on page 26, or Table 4-12
                on page 27 for each measurement resource type.
                If you do not set Icomp, the previous value is used.
                Compliance polarity is automatically set to the same
                polarity as the output value, regardless of the specified Icomp.
                If the output value is 0, the compliance polarity is positive.
        """
        cmd = f'WDCV {chnum},{mode},{start},{stop},{step}'

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

        self._msg.append(cmd)
        return self

        This command sets the DC bias sweep source used for the CV (DC bias)
        sweep measurement (MM18). The sweep source will be MFCMU or SMU.
        Execution Conditions: The CN/CNX command has been executed for the
        specified channel. If you want to apply DC voltage over +/- 25 V using
        the SCUU, the SCUU must be connected correctly. The SCUU can be used
        with the MFCMU and two SMUs (MPSMU or HRSMU). The SCUU cannot be
        used if the HPSMU is connected to the SCUU or if the number of SMUs
        connected to the SCUU is only one. If the output voltage is greater
        than the allowable voltage for the interlock open condition,
        the interlock circuit must be shorted.

        Args:
            chnum : MFCMU or SMU channel number.
                Integer expression. 1 to 10 or 101 to 1001.
                See Table 4-1 on page 16.
            mode : Sweep mode. Integer expression.
                1: Linear sweep (single stair, start to stop.)
                2: Log sweep (single stair, start to stop.)
                3: Linear sweep (double stair, start to stop to start.)
                4: Log sweep (double stair, start to stop to start.)
            start : Start value of the DC bias sweep (in V). Numeric expression.
                For the log sweep, start and stop must have the same polarity.
                See Table 4-7 on page 24, Table 4-9 on page 26, or Table
                4-12 on page 27 for each measurement resource type. For
                MFCMU, 0 (initial setting) to +/- 25 V (MFCMU) or +/- 100 V (
                with SCUU) With the SCUU, the source module is automatically
                selected by the setting value. The MFCMU is used if the
                start and stop values are below +/- 25 V
                (setting resolution: 0.001 V), or the SMU is used if they
                are greater than +/- 25 V (setting resolution: 0.005 V). The
                SMU connected to the SCUU will operate with the 100 V
                limited auto ranging and 20 mA compliance settings.
            stop : Stop value of the DC bias sweep (in V).
            step : Number of steps for staircase sweep.
                Numeric expression. 1 to 1001.
            i_comp : Available only for SMU. An error occurs if the Icomp
                value is specified for the MFCMU.
                Current compliance (in A). Numeric expression.
                See Table 4-7 on page 24, Table 4-9 on page 26, or Table 4-12
                on page 27 for each measurement resource type.
                If you do not set Icomp, the previous value is used.
                Compliance polarity is automatically set to the same
                polarity as the output value, regardless of the specified Icomp.
                If the output value is 0, the compliance polarity is positive.
        
This command sets the DC bias sweep source used for the CV (DC bias)
sweep measurement (MM18). The sweep source will be MFCMU or SMU.
Execution Conditions: The CN/CNX command has been executed for the
specified channel. If you want to apply DC voltage over +/- 25 V using
the SCUU, the SCUU must be connected correctly. The SCUU can be used
with the MFCMU and two SMUs (MPSMU or HRSMU). The SCUU cannot be
used if the HPSMU is connected to the SCUU or if the number of SMUs
connected to the SCUU is only one. If the output voltage is greater
than the allowable voltage for the interlock open condition,
the interlock circuit must be shorted.
This command sets the DC bias sweep source used for the CV ( DC bias ) sweep measurement ( MM18 ) . The sweep source will be MFCMU or SMU . Execution Conditions : The CN / CNX command has been executed for the specified channel . If you want to apply DC voltage over + / - 25 V using the SCUU the SCUU must be connected correctly . The SCUU can be used with the MFCMU and two SMUs ( MPSMU or HRSMU ) . The SCUU cannot be used if the HPSMU is connected to the SCUU or if the number of SMUs connected to the SCUU is only one . If the output voltage is greater than the allowable voltage for the interlock open condition the interlock circuit must be shorted .
def wdcv(self,
             chnum: Union[constants.ChNr, int],
             mode: Union[constants.SweepMode, int],
             start: float,
             stop: float,
             step: float,
             i_comp: Optional[float] = None
             ) -> 'MessageBuilder':
        cmd = f'WDCV {chnum},{mode},{start},{stop},{step}'
        if i_comp is not None:
            cmd += f',{i_comp}'
        self._msg.append(cmd)
        return self
def wdcv ( self , chnum : Union [ constants . ChNr , int ] , mode : Union [ constants . SweepMode , int ] , start : float , stop : float , step : float , i_comp : Optional [ float ] = None ) -> 'MessageBuilder' : cmd = f'WDCV {chnum},{mode},{start},{stop},{step}' if i_comp is not None : cmd += f',{i_comp}' self . _msg . append ( cmd ) return self
This command sets the DC bias sweep source used for the CV (DC bias)
sweep measurement (MM18).
This command sets the DC bias sweep source used for the CV ( DC bias ) sweep measurement ( MM18 ) .
"""
        This command sets the DC bias sweep source used for the CV (DC bias)
        sweep measurement (MM18). The sweep source will be MFCMU or SMU.
        Execution Conditions: The CN/CNX command has been executed for the
        specified channel. If you want to apply DC voltage over +/- 25 V using
        the SCUU, the SCUU must be connected correctly. The SCUU can be used
        with the MFCMU and two SMUs (MPSMU or HRSMU). The SCUU cannot be
        used if the HPSMU is connected to the SCUU or if the number of SMUs
        connected to the SCUU is only one. If the output voltage is greater
        than the allowable voltage for the interlock open condition,
        the interlock circuit must be shorted.

        Args:
            chnum : MFCMU or SMU channel number.
                Integer expression. 1 to 10 or 101 to 1001.
                See Table 4-1 on page 16.
            mode : Sweep mode. Integer expression.
                1: Linear sweep (single stair, start to stop.)
                2: Log sweep (single stair, start to stop.)
                3: Linear sweep (double stair, start to stop to start.)
                4: Log sweep (double stair, start to stop to start.)
            start : Start value of the DC bias sweep (in V). Numeric expression.
                For the log sweep, start and stop must have the same polarity.
                See Table 4-7 on page 24, Table 4-9 on page 26, or Table
                4-12 on page 27 for each measurement resource type. For
                MFCMU, 0 (initial setting) to +/- 25 V (MFCMU) or +/- 100 V (
                with SCUU) With the SCUU, the source module is automatically
                selected by the setting value. The MFCMU is used if the
                start and stop values are below +/- 25 V
                (setting resolution: 0.001 V), or the SMU is used if they
                are greater than +/- 25 V (setting resolution: 0.005 V). The
                SMU connected to the SCUU will operate with the 100 V
                limited auto ranging and 20 mA compliance settings.
            stop : Stop value of the DC bias sweep (in V).
            step : Number of steps for staircase sweep.
                Numeric expression. 1 to 1001.
            i_comp : Available only for SMU. An error occurs if the Icomp
                value is specified for the MFCMU.
                Current compliance (in A). Numeric expression.
                See Table 4-7 on page 24, Table 4-9 on page 26, or Table 4-12
                on page 27 for each measurement resource type.
                If you do not set Icomp, the previous value is used.
                Compliance polarity is automatically set to the same
                polarity as the output value, regardless of the specified Icomp.
                If the output value is 0, the compliance polarity is positive.
        """
self
chnum
Union[constants.ChNr, int]
mode
Union[constants.SweepMode, int]
start
float
stop
float
step
float
i_comp
Optional[float]
chnum 
MFCMU or SMU channel number.
Integer expression.
MFCMU or SMU channel number . Integer expression .
mode 
Sweep mode. Integer expression.
1: Linear sweep (single stair, start to stop.)
2: Log sweep (single stair, start to stop.)
3: Linear sweep (double stair, start to stop to start.)
4: Log sweep (double stair, start to stop to start.)
Sweep mode . Integer expression . 1 : Linear sweep ( single stair start to stop . ) 2 : Log sweep ( single stair start to stop . ) 3 : Linear sweep ( double stair start to stop to start . ) 4 : Log sweep ( double stair start to stop to start . )
start 
Start value of the DC bias sweep (in V). Numeric expression.
For the log sweep, start and stop must have the same polarity.
See Table 4-7 on page 24, Table 4-9 on page 26, or Table
4-12 on page 27 for each measurement resource type. For
MFCMU, 0 (initial setting) to +/- 25 V (MFCMU) or +/- 100 V (
with SCUU) With the SCUU, the source module is automatically
selected by the setting value. The MFCMU is used if the
start and stop values are below +/- 25 V
(setting resolution: 0.001 V), or the SMU is used if they
are greater than +/- 25 V (setting resolution: 0.005 V). The
SMU connected to the SCUU will operate with the 100 V
limited auto ranging and 20 mA compliance settings.
Start value of the DC bias sweep ( in V ) . Numeric expression . For the log sweep start and stop must have the same polarity . See Table 4 - 7 on page 24 Table 4 - 9 on page 26 or Table 4 - 12 on page 27 for each measurement resource type . For MFCMU 0 ( initial setting ) to + / - 25 V ( MFCMU ) or + / - 100 V ( with SCUU ) With the SCUU the source module is automatically selected by the setting value . The MFCMU is used if the start and stop values are below + / - 25 V ( setting resolution : 0 . 001 V ) or the SMU is used if they are greater than + / - 25 V ( setting resolution : 0 . 005 V ) . The SMU connected to the SCUU will operate with the 100 V limited auto ranging and 20 mA compliance settings .
stop 
Stop value of the DC bias sweep (in V).
Stop value of the DC bias sweep ( in V ) .
step 
Number of steps for staircase sweep.
Numeric expression.
Number of steps for staircase sweep . Numeric expression .
i_comp 
Available only for SMU. An error occurs if the Icomp
value is specified for the MFCMU.
Current compliance (in A). Numeric expression.
See Table 4-7 on page 24, Table 4-9 on page 26, or Table 4-12
on page 27 for each measurement resource type.
If you do not set Icomp, the previous value is used.
Compliance polarity is automatically set to the same
polarity as the output value, regardless of the specified Icomp.
If the output value is 0, the compliance polarity is positive.
Available only for SMU . An error occurs if the Icomp value is specified for the MFCMU . Current compliance ( in A ) . Numeric expression . See Table 4 - 7 on page 24 Table 4 - 9 on page 26 or Table 4 - 12 on page 27 for each measurement resource type . If you do not set Icomp the previous value is used . Compliance polarity is automatically set to the same polarity as the output value regardless of the specified Icomp . If the output value is 0 the compliance polarity is positive .