qcodes/instrument/group_parameter.py
def _set_one_parameter_from_raw(self, set_parameter: GroupParameter,
                                    raw_value: ParamRawDataType) -> None:
        """
        Sets the raw_value of the given parameter within a group to the given
        raw_value by calling the ``set_cmd``.

        Args:
            set_parameter: The parameter within the group to set.
            raw_value: The new raw_value for this parameter.
        """
        # TODO replace get latest with call to cache.invalid once that lands
        if any((p.get_latest() is None) for p in self.parameters.values()):
            self.update()
        calling_dict = {name: p.cache.raw_value
                        for name, p in self.parameters.items()}
        calling_dict[set_parameter.name] = raw_value

        self._set_from_dict(calling_dict)

        Sets the raw_value of the given parameter within a group to the given
        raw_value by calling the ``set_cmd``.

        Args:
            set_parameter: The parameter within the group to set.
            raw_value: The new raw_value for this parameter.
        
Sets the raw_value of the given parameter within a group to the given
raw_value by calling the ``set_cmd``.
Sets the raw_value of the given parameter within a group to the given raw_value by calling the ` ` set_cmd ` ` .
def _set_one_parameter_from_raw(self, set_parameter: GroupParameter,
                                    raw_value: ParamRawDataType) -> None:
        if any((p.get_latest() is None) for p in self.parameters.values()):
            self.update()
        calling_dict = {name: p.cache.raw_value
                        for name, p in self.parameters.items()}
        calling_dict[set_parameter.name] = raw_value
        self._set_from_dict(calling_dict)
def _set_one_parameter_from_raw ( self , set_parameter : GroupParameter , raw_value : ParamRawDataType ) -> None : if any ( ( p . get_latest ( ) is None ) for p in self . parameters . values ( ) ) : self . update ( ) calling_dict = { name : p . cache . raw_value for name , p in self . parameters . items ( ) } calling_dict [ set_parameter . name ] = raw_value self . _set_from_dict ( calling_dict )
Sets the raw_value of the given parameter within a group to the given
raw_value by calling the ``set_cmd``.
Sets the raw_value of the given parameter within a group to the given raw_value by calling the ` ` set_cmd ` ` .
"""
        Sets the raw_value of the given parameter within a group to the given
        raw_value by calling the ``set_cmd``.

        Args:
            set_parameter: The parameter within the group to set.
            raw_value: The new raw_value for this parameter.
        """ # TODO replace get latest with call to cache.invalid once that lands
self
set_parameter
GroupParameter
The parameter within the group to set.
The parameter within the group to set .
raw_value
ParamRawDataType
The new raw_value for this parameter.
The new raw_value for this parameter .