DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Create graphs with properties values

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!

 

 

0 Kudos
Message 1 of 17
(6,603 Views)

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

0 Kudos
Message 2 of 17
(6,591 Views)

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!

0 Kudos
Message 3 of 17
(6,584 Views)

Can you upload an example of you problem?

I'm not sure what property do you want to plot.

 

Simyfren

0 Kudos
Message 4 of 17
(6,581 Views)

Property.png

 

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!

0 Kudos
Message 5 of 17
(6,575 Views)

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

0 Kudos
Message 6 of 17
(6,570 Views)

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.

0 Kudos
Message 7 of 17
(6,566 Views)

Why 20 channels?

You can simply put values from all properties into one channel and plot them.

 

Simyfren

0 Kudos
Message 8 of 17
(6,564 Views)

That does not work well with the requirements that i have.

 

But thanks for your help!

0 Kudos
Message 9 of 17
(6,560 Views)

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

0 Kudos
Message 10 of 17
(6,547 Views)