Hello everyone,
I hope you can help me with my little Problem, the humongous ammount of helpfull topics I've found so far let me hope.
I try to filter some channels by mean and afterwards median. I tried to be efficent/lazy and save a few lines of code.
At 1st I filter my origin channel, afterwards remove the original channel and at last I filter the already filtered channel and want to have a new channel with the name of the original channel.
Sub FilterMedianMean(ByVal FilterKanal,ByVal SampleLaenge)
...
KanalName = FilterKanal.Name
...
Call ChnSmooth(FilterKanal,KanalName+"-Filter-Mean",SampleLaenge,"maxNumber","byMeanValue")
Call oKanaele.Remove(KanalName)
Call ChnSmooth(KanalName+"-Filter-Mean",KanalName,SampleLaenge,"maxNumber","byMedian")
But the 2nd channel never gets created.
I have no Idea why I can't do it this way. Of course I could change the code and delete the original channel afterwards and just rename the result channel but right now i'm just currious.