DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

ChnFind in DIAdem 2014, how to use ValEqual with ChnFind

Solved!
Go to solution

Hi, 

I am finding local maxima of a temperature channel with StatBlockCalc.  Then I want to find what row value these maxima occur.

 

I keep getting a result of "0" with ChnFind, and the help suggests I use "ValEqual" with ChnFind but I'm not sure how to do this, help!

 

logfilewrite Pno("MyTemp", 67.4712581881695) ' returns the expected row 29

logfilewrite ChnFind("Ch(""MyTemp"") = " & 67.4712581881695,28) ' returns 0 😞

 

 

 

0 Kudos
Message 1 of 2
(2,439 Views)
Solution
Accepted by topic author JuliaDawkins

Hi Julia,

 

Please try this:

 

msgbox ChnFind("ValEqual(Ch(""[4]/Channel""), 27.3)", 1)

 

Greetings

Walter

0 Kudos
Message 2 of 2
(2,423 Views)