08-07-2014 09:25 AM
Hi,
I have multiple ch-groups with multiple channels in each measurement file.
Now I need to display/compare channles of 2 or more measurement files in one graph. (channel "speed1" of file "measurement1" vs. channel "speed1" of file "measurement2")
Thus I import 2 files in the Navigator und have the same channel structure twice. To distinguish the channels of both files I want to rename the channels by script and append the file name to the channel-group name.
Is that a common way to compare measurement data in files with the same channel names and structures?
If yes. How can I do that by script?
Thanks a lot in advance!
Ski
Solved! Go to Solution.
08-08-2014 01:53 AM
Hi Ski-Fahrer,
every Channel has a Propery name.
Data.Root.ChannelGroups(Index or "Name").Channels(Index or "Name").Name
You can assign a new name like this: ... .Name = "newName"
I don't think it's necessary to rename the channels. If you remember the files. If you want to rename something I would only rename the ChannelGroups by adding a date or serial number.
Kind Regards,
Philipp K.
AE | NI-Germany
08-08-2014 02:29 AM
Hi,
thanks for your reply.
I think it is neccessary. If you don't do that, you need to check the properties to find out where the data is coming from when reviewing the data in some weeks....
It could be a really nice feature in DIADEM to rename the data by appending the filename or any other appendix to ch-group naes without writing a script!
Ski-Fahrer