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.
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:
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.