diff --git a/Packages/MIES/MIES_MiesUtilities.ipf b/Packages/MIES/MIES_MiesUtilities.ipf index d838d12124..bedee73e6e 100644 --- a/Packages/MIES/MIES_MiesUtilities.ipf +++ b/Packages/MIES/MIES_MiesUtilities.ipf @@ -5879,7 +5879,12 @@ threadsafe Function SplitSweepIntoComponents(numericalValues, sweep, sweepWave, endif endif - MoveWave data, targetDFR:$str + // @todo workaround IP bug #4702 where MoveWave fails in preemptive threads + if(MU_RunningInMainThread()) + MoveWave data, targetDFR:$str + else + Duplicate data, targetDFR:$str + endif endfor string/G targetDFR:note = note(sweepWave)