qcodes/instrument_drivers/Keysight/keysightb1500/message_builder.py
def act(self,
            mode: Union[constants.ACT.Mode, int],
            coeff: Optional[int] = None
            ) -> 'MessageBuilder':
        """
        This command sets the number of averaging samples or the averaging
        time set to the A/D converter of the MFCMU.

        Args:
            mode: Averaging mode.
                Integer expression. 0 (initial setting) or 2.

                    - 0: Auto mode: Defines the number of averaging samples
                        given by the following formula. Then initial averaging
                        is the number of averaging samples automatically set by
                        the KeysightB1500 and you cannot change.

                        ``Number of averaging samples = n * initial averaging``

                    - 2: Power line cycle (PLC) mode: Defines the averaging
                        time given by the following formula.

                        ``Averaging time = n / power line frequency``

            coeff: Coefficient used to define the number of averaging
                samples or the averaging time. For mode=0: 1 to 1023. Initial
                setting/default setting is 2. For mode=2: 1 to 100. Initial
                setting/default setting is 1.
        """
        cmd = f'ACT {mode}'

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

        self._msg.append(cmd)
        return self

        This command sets the number of averaging samples or the averaging
        time set to the A/D converter of the MFCMU.

        Args:
            mode: Averaging mode.
                Integer expression. 0 (initial setting) or 2.

                    - 0: Auto mode: Defines the number of averaging samples
                        given by the following formula. Then initial averaging
                        is the number of averaging samples automatically set by
                        the KeysightB1500 and you cannot change.

                        ``Number of averaging samples = n * initial averaging``

                    - 2: Power line cycle (PLC) mode: Defines the averaging
                        time given by the following formula.

                        ``Averaging time = n / power line frequency``

            coeff: Coefficient used to define the number of averaging
                samples or the averaging time. For mode=0: 1 to 1023. Initial
                setting/default setting is 2. For mode=2: 1 to 100. Initial
                setting/default setting is 1.
        
This command sets the number of averaging samples or the averaging
time set to the A/D converter of the MFCMU.
This command sets the number of averaging samples or the averaging time set to the A / D converter of the MFCMU .
def act(self,
            mode: Union[constants.ACT.Mode, int],
            coeff: Optional[int] = None
            ) -> 'MessageBuilder':
        cmd = f'ACT {mode}'
        if coeff is not None:
            cmd += f',{coeff}'
        self._msg.append(cmd)
        return self
def act ( self , mode : Union [ constants . ACT . Mode , int ] , coeff : Optional [ int ] = None ) -> 'MessageBuilder' : cmd = f'ACT {mode}' if coeff is not None : cmd += f',{coeff}' self . _msg . append ( cmd ) return self
This command sets the number of averaging samples or the averaging
time set to the A/D converter of the MFCMU.
This command sets the number of averaging samples or the averaging time set to the A / D converter of the MFCMU .
"""
        This command sets the number of averaging samples or the averaging
        time set to the A/D converter of the MFCMU.

        Args:
            mode: Averaging mode.
                Integer expression. 0 (initial setting) or 2.

                    - 0: Auto mode: Defines the number of averaging samples
                        given by the following formula. Then initial averaging
                        is the number of averaging samples automatically set by
                        the KeysightB1500 and you cannot change.

                        ``Number of averaging samples = n * initial averaging``

                    - 2: Power line cycle (PLC) mode: Defines the averaging
                        time given by the following formula.

                        ``Averaging time = n / power line frequency``

            coeff: Coefficient used to define the number of averaging
                samples or the averaging time. For mode=0: 1 to 1023. Initial
                setting/default setting is 2. For mode=2: 1 to 100. Initial
                setting/default setting is 1.
        """
self
mode
Union[constants.ACT.Mode, int]
Averaging mode.
Integer expression. 0 (initial setting) or 2.

Auto mode: Defines the number of averaging samples
given by the following formula. Then initial averaging
is the number of averaging samples automatically set by
the KeysightB1500 and you cannot change.

``Number of averaging samples = n * initial averaging``

Power line cycle (PLC) mode: Defines the averaging
time given by the following formula.

``Averaging time = n / power line frequency``
Averaging mode . Integer expression . 0 ( initial setting ) or 2 . Auto mode : Defines the number of averaging samples given by the following formula . Then initial averaging is the number of averaging samples automatically set by the KeysightB1500 and you cannot change . ` ` Number of averaging samples = n * initial averaging ` ` Power line cycle ( PLC ) mode : Defines the averaging time given by the following formula . ` ` Averaging time = n / power line frequency ` `
coeff
Optional[int]
Coefficient used to define the number of averaging
samples or the averaging time.
Coefficient used to define the number of averaging samples or the averaging time .