MIES
MIES copied to clipboard
Stimset API: Interaction with Stimset cycle ID
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
Use first solution.