02-14-2013 04:37 AM
Hello there,
I have a standard xy plot in Report which is showing some data. I would like to draw a constant line at the position of the minimum value. I create a new curve of type constant and in the y-constant box I put:
@@Data.Root.ChannelGroups(21).Channels(3).Properties("minimum").Value@@
However, when I click okay I get the message:
"Cannot interpet the selected .. >@<@Data.Root.ChannelGroups(.. character in the formula
D2CONST(DHI3) := @@Data.Root.ChannelGroups(21).Channels(3).Properties("minimum").Value@@"
I can use the same string on the report page to display the minimum value so I'm happy with the syntax, and I've also done something similar before without problem. Does anyone have any ideas what is going wrong please?
Thank you,
Martin
02-14-2013 05:17 AM
Hi Martin
I tried your string in DIAdem 2012 and it works fine. Is there any extra character? I copy and past it from your message and only change the group number. Do the channel and the group exist?
Winfried
02-14-2013 05:44 AM
Hi Winifried,
Thank you for trying it for me. I have 2012 as well. After your post I tried creating a new report and a new graph and now the exact same code works okay. It must have got into a state somehow.
Thank you for helping,
Martin