Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/changes/newsfragments/8684.new
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Added recording of parameter access: inside a ``with qcodes.parameters.record_parameter_accesses() as accesses:`` block,
every ``get`` and ``set`` of a parameter made by the current thread (or asyncio task) is appended to ``accesses`` as a
``qcodes.parameters.ParameterAccess``: the names of the parameter and its instrument, the value and raw value, when the
access started, how long it took and the error it raised, if any. A set that ramps in steps is recorded once per step.
``qcodes.parameters.log_parameter_accesses`` logs the accesses to the ``qcodes.parameters.parameter_access`` logger
instead. Recording only stores data: no user code runs while a parameter is accessed, and a record holds names rather
than the parameter or instrument. This makes it possible to see all instrument communication made by a piece of code
without changing it.
Loading
Loading