DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Properties of curves programmatically displayed in the legend in REPORT

Hello.
 
I am using Diadem to compare curves from different measurements, each measurement corresponds to a group in the Data Portal.
 
What I need is a routine that update the legend of a 2D axis with different properties of the curves every time that I load them into it.
 
For example, for the curve "Speed" from the group 1, I want to display its maximum and  the minimum and perhaps the maximum value from another channel in the group 1. And the same values for the following curves that I load.
 
I have tried to do this with loops and the  D2LegXXX commands with no success.
 
Thanks in advance for your help.
0 Kudos
Message 1 of 4
(3,805 Views)
Hello!
 
To patch the layout is not the best aproach. I recommend to use an expression in the legend wich is evaluated on every update (PicUpdate). You have to change the legend settings to the 8th type (I have only a german DIAdem and don't know the english name). Than you can insert a expression with @-Syntax.
 
 
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 4
(3,792 Views)

Hello Matthias.

Actually, I have already created a legend with 6 fields, all of them with the @-syntax.

As I need to compare a signal from more than 30 groups (measurements), I would like to find a better way to introduce these values than copying and pasting the @-codes 30 times.

I have done this for ten signals, and after each copy-paste action I have to change the gorup number.

Do you have another idea?

0 Kudos
Message 3 of 4
(3,778 Views)
Hello!
 
Yes! Have a look at the name based layout mode (I don't know the right english phrase). You can find more info in the help if you look for the variable 'PicDefByIdent'.
 
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 4 of 4
(3,769 Views)