rename channel name and comments

When I use a calculation function like digital filter, the new channel has a name reflecting the function and the columns used by index. I would like to rename the channel created to be more descriptive as well as the comment or just overwrite the existing channel but retain the name and comment. Any suggestions?

The DIAdem "variables" CN and CC can also be referred to as ChnName and ChnComment and are referenced as a vector (array) to indicate which channel you want to work with. So as an expansion to Otmar's example consider the following code to set a channel name and comment