Let argument in object.GetReference(argument) method should be optional and as default set ExtendChnName
In this case calling of function should look like Call ChnSmooth(oMyChannel.GetReference,oMyChannel.GetReference,10,“maxNumber“)
Also include in Channel object even required properties (description, unit, max, min, length, etc.). This should be equivalent to oMyChannel.Properties(NameOrIndex).Value
From DIAdem 2015 on it is possible to use the channel object as parameter. Example:
ChnSmooth(oMyChannel, oMyChannel, 10, “maxNumber“)
Greetings
Walter