cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Find continuous values form Infotable and count

ecronos
1-Newbie

Find continuous values form Infotable and count

Hi, all

I have an infotable like this

Expectedlow boundup boundreal value
0.50.10.750.25
0.50.10.750.3
0.50.10.750.25
0.50.10.750.3
0.50.10.750.4

I have a problem, I want to get if real value>0.25 continuous then count +1,  or count =0.

So to my condiction the infotable count is 2, not 3.

Could anyone give me some suggestion how I do?

1 ACCEPTED SOLUTION

Accepted Solutions
posipova
20-Turquoise
(To:ecronos)

You may use the "for" loop to go through the rows (myInfotablename.rows[RowNumber].realValue) with "if" condition comparing the (real value >0.25) and then setting your count variable appropriately.

View solution in original post

2 REPLIES 2
posipova
20-Turquoise
(To:ecronos)

You may use the "for" loop to go through the rows (myInfotablename.rows[RowNumber].realValue) with "if" condition comparing the (real value >0.25) and then setting your count variable appropriately.

It works!
Thank you

Top Tags