03-13-2014 04:13 AM
Hello!
I want to create a Bar Graph or a normal graph with properties contained in ChannelGroup level. Is there any easy solution to this?, so far is seems that the only option is to create a channel with this values, but I don't want to duplicate the information since I have a considerable number of channels in each Channel Group.
Thanks in advance for the support!
03-13-2014 08:05 AM
Hi,
what type of proerties do you want? And which type of object you want to use?
For example, if you want to display name of group, you can use something like this in the text object:
@@Data.Root.ChannelGroups(1).Properties("name").Value@@
Hope this helps, if not, write detailed information.
Simyfren
03-13-2014 08:20 AM
hello!
I know that you can get even the values or whathever property live values, name, etc. with the expresion form "@@ @@". However I want to plot, for example a bar graph that contains a numeric property of the group. Let's say that I have 3 Datasets all with a property "TotalFuel" and different values in each group, So what I will like to do is to plot this values in a 2DAxis object. But it seems that all the plots or graphs are meant to be only channel oriented.
Do you understand my issue? Please let me know if not to clarified better this.
Thanks!
03-13-2014 08:25 AM
Can you upload an example of you problem?
I'm not sure what property do you want to plot.
Simyfren
03-13-2014 08:44 AM
Ok here is the example. Hope everything is more clear.!
For example the property TotalFuel. Each group (Grp1,Grp2 and Grp3) contains this property. I will like to create a plot (Bar Graph or Other) containing this values, Instead or create a channel with the values.
Thanks!
03-13-2014 09:10 AM
Oh, I understand. But I'm afraid that this will not be possible.
Do you have a problem to use script for creating a channel with property values?
Simyfren
03-13-2014 09:26 AM
No it is ok, it is just that i want to avoid this. The thing is, it does not seem so useful to have 20 more channels with one scalar value I already have more than 100 channels per DataSet. However there is no many things that you can do with the properties either.
It is something that DIAdem should allow !!!
Thanks, I was thinking that maybe there was a way to change the channel oriented option.
03-13-2014 09:30 AM
Why 20 channels?
You can simply put values from all properties into one channel and plot them.
Simyfren
03-13-2014 09:48 AM
That does not work well with the requirements that i have.
But thanks for your help!
03-13-2014 03:08 PM
Hi Naoa,
If you just want to plot a constant X value (vertical line) or constant Y value (horizontal line), then you can reference a Group property directly in the 2D graph of the TDR file.
Or do you want to plot something more complicated?
Brad Turpin
DIAdem Product Support Engineer
National Instruments