DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Aritmethic average in text numerical operation DIADEM-GRAPH

I suppose this doubt might be posted several times, but I coudn't find it.
 
How can I set the Arithmetic average value from a entire channel, in the Diadem-Graph and/or Calculation automatically. Also any idea how to do it in VBS-script ?
 
Diadem 8.1
 
Thanks in advance
RodrigoSmiley Very Happy
0 Kudos
Message 1 of 3
(3,470 Views)
Hi Rodrigo,

You can use the CCH function: CCh(ChannelName,StatValueIndex)
ChannelName Specifies the name of a data channel.
StatValueIndex Specifies the index of the characteristic value to be calculated. Index Characteristic value are:
0 Mean
1 Minimum
2 Maximum
3 Range
4 Sum

VBS syntax:
dblMyResult = CCh("ChannelName",2)

REPORT/GRAPH:
Call GraphObjOpen("Text1")
  TXTTXT = @CCh("ChannelName",2)@
Call GraphObjClose("Text1")

Or set the text content to: @CCh("ChannelName",2)@

Greetings
Walter
Message 2 of 3
(3,460 Views)

Hi Walter

Thanks a lot for your hint.

It was really helpfull.

Regards

Rodrigo (Sao Paulo - BR)

 

 

 

 

0 Kudos
Message 3 of 3
(3,433 Views)