LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

InRangeCompareFunction

Solved!
Go to solution

the yellow indicates how the signal should be

 

like how the green should follow the white at that point which is marked wrong

 

Thanks

0 Kudos
Message 11 of 24
(912 Views)

So if I understand you do not want the green to follow the white unless it is greater than red. Then when the white goes below the red you want the green to follow the white?

Tim
GHSP
0 Kudos
Message 12 of 24
(908 Views)

Yes

 

Exactly

 

 

0 Kudos
Message 13 of 24
(906 Views)

Then how do you know when the green should not follow the white when the signal starts going up again or is this a one time up and dnow thing?

 

Do you understand the question?

Tim
GHSP
0 Kudos
Message 14 of 24
(904 Views)

No, its not a one time up and down

 

Good question.

 

 

Well you have already done it in the attached VI

 

This is where may be the program gets complex.

 

At the end of the cylce i.e. When white gets to the value zero Again, you have to restart the cycle. But when white is above the 1, and when white < red, then green should follow white

 

 

0 Kudos
Message 15 of 24
(899 Views)

so you are sure that the value will always hit 0 going down and 1 going up?

Tim
GHSP
0 Kudos
Message 16 of 24
(895 Views)

 

 

Sorry for confusing you

 i didnot mean to say

 

"But when white is above the 1"

0 Kudos
Message 17 of 24
(894 Views)

yes i am sure that the value will hit 0 and 1

 

 

0 Kudos
Message 18 of 24
(893 Views)

Give me a few minutes I will see waht I can do for you.

Tim
GHSP
0 Kudos
Message 19 of 24
(885 Views)

thanks

0 Kudos
Message 20 of 24
(881 Views)