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
CN(1) = "Speed" ' Same as ChnName(1) = "Speed" CC(1) = "Instantaneous" ' Same as ChnComment(1) = "..."
You can also refer to the channels by name by doing exactly as Otmar said:
CN("Time") = "Speed"
Jason F. Applications Engineer National Instruments www.ni.com/ask