DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Table with Channel Attributes

Hi,

I would like to make a table with attributes from different channels (The channels should be selected by the user)

Something like this

Ch Name   Ch Unit   Ch Max   Ch Attr1 ...
---------------------------------------------
ch1          V        2.3       xx
ch3          V       2.0        xx
......


Is something like this possible and how do I get this?

Thank you
 Mario
0 Kudos
Message 1 of 4
(3,888 Views)
Hi Mario,

It's not so clear what you want to achieve. Can you explain it a little bit more into details.
Ohterwise, do you make it in Diadem Report or in Diadem View?

Best Regards,
Laurent
NI Switzerland
0 Kudos
Message 2 of 4
(3,872 Views)
Hi Laurent,

I found out that I can get what I want using Expressions in D2Tables.
There is an other problem. I use an expression like @@MyParameter(D2TabRow)@@ to get the correct numerical value. That is e.g. 0.987978675645311. I tried to use @str(@@MyParameter(D2TabRow)@@, "d.dd")@ to format this value but this gives me an error.
Whats wrong with this?

Is it possible to adjust the size of the table header automatically? I use "Parameter 1" in the header but rotated around 90° and by default the header is much to small.

Thanks
 Mario


Message Edited by MarioR on 04-10-2008 08:31 AM
0 Kudos
Message 3 of 4
(3,868 Views)
Hi Mario,

yes, you`re right with the expressions in Tables.

In your typecast from MyParameter you did the mistake, that you have done it with @@str(@@...

For example when you want to typecast the auxiliary variable R1, which is perhaps 0.919299283 the right syntax will be: @@str(R1,"d.dd")@@ Result: 0.92

The header can be set to automatic or to individual, just play around. As a tip, you can take the lineborder between header and the first row of the table with your mouse and change the position. If it is set to automatic, the size will change, while dragging the line.

Hope this helps.

Laurent
NI Switzerland


0 Kudos
Message 4 of 4
(3,860 Views)