ophyd_async.core.get_signal_values#

ophyd_async.core.get_signal_values(signals: Dict[str, SignalRW[Any]], ignore: List[str] | None = None) Generator[Msg, Sequence[Location[Any]], Dict[str, Any]][source]#

Get signal values in bulk.

Used as part of saving the signals of a device to a yaml file.

Parameters:
  • signals (Dict[str, SignalRW]) – Dictionary with pv names and matching SignalRW values. Often the direct result of walk_rw_signals().

  • ignore (Optional[List[str]]) – Optional list of PVs that should be ignored.

Returns:

A dictionary containing pv names and their associated values. Ignored pvs are set to None.

Return type:

Dict[str, Any]