MIES icon indicating copy to clipboard operation
MIES copied to clipboard

Handle analysis functions which set a too large DAScale value

Open t-b opened this issue 1 year ago • 0 comments

If you set a too large DAScale value we abort in DC_PlaceDataInDAQDataWave. But then the post set event of the analysis function is not called and we don't have a stop reason.

Teach SetDAScale to avoid writing an out-of-range DAScale value. In order to to figure that out we need to:

  • get the voltage range for the given hardware type
  • read out the "External Command Sensitiviy"
  • use Min/Max value from stimset wave note for the given sweep
  • and complain to the caller that the value is out of range

And all analysis functions should then properly finish with a new LBN entry telling the user why we had to stop early.

Wavebuilder should write min/max per sweep into wave note.

t-b avatar May 20 '24 20:05 t-b