From 2bc24dac16389502aa4cef6a1e4fe92780be31f5 Mon Sep 17 00:00:00 2001 From: Thomas Braun Date: Thu, 1 Aug 2024 12:28:38 +0200 Subject: [PATCH] PA_SpikePositionsForNonVC: Add missing /Q Otherwise FindPeak is too noisy. --- Packages/MIES/MIES_PulseAveraging.ipf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/MIES/MIES_PulseAveraging.ipf b/Packages/MIES/MIES_PulseAveraging.ipf index 92564885e2..bfe019d5fb 100644 --- a/Packages/MIES/MIES_PulseAveraging.ipf +++ b/Packages/MIES/MIES_PulseAveraging.ipf @@ -2526,7 +2526,7 @@ threadsafe Function/WAVE PA_SpikePositionsForNonVC(WAVE wv, variable failedPulse endif AssertOnAndClearRTError() - FindPeak/B=(PA_PEAK_BOX_AVERAGE)/M=(failedPulsesLevel)/R=(first, last) wv; err = GetRTError(1) // see developer docu section Preventing Debugger Popup + FindPeak/B=(PA_PEAK_BOX_AVERAGE)/M=(failedPulsesLevel)/R=(first, last)/Q wv; err = GetRTError(1) // see developer docu section Preventing Debugger Popup if(!err) ASSERT_TS(!V_Flag, "Could not find peak but FindLevelWrapper was successfull, this is unexpected.")