MIES icon indicating copy to clipboard operation
MIES copied to clipboard

Stimset API: Interaction with Stimset cycle ID

Open t-b opened this issue 4 years ago • 1 comments

The stimset API allows to modify stimset parameters programmatically. The prime use case is to allow to adapt stimset in analysis functions during DAQ.

This works as designed.

In an analysis function one is usually interested in multiple sweeps from the same SCI, d6046561 (Add a stimset acquisition cycle ID, 2018-05-30). The labnotebook allows to easily query settings from the same SCI.

But when changing a stimset via the stimset API the stimset cycle ID changes and that breaks the group of stimsets bound together by the SCI's into two groups.

This is unfortunate and forces the user to figure out what the old and new SCI is.

Solutions:

  • [ ] Make the SCI definitions looser by dropping the stimset checksum
  • [ ] Introduce yet another ID which does not incude the stimset checksum
  • [ ] Add LBN entries when using the stimset API, see #1095, which allows to bind together sweeps from different SCIs which were only modified by the stimset API functions

t-b avatar Oct 08 '21 11:10 t-b

Use first solution.

timjarsky avatar Dec 09 '22 22:12 timjarsky