Hello:
I'm not sure if I understood exactly what you need. I've made a simple VI that does the following:
- Compares two numbers whenever you press the Compare button
- If the comparison is true, it increments a counter by one.
- If three straight comparisons are true, it shows a dialog (this is a dummy behavior, do what you need here), and resets the count
- Whenever a comparison is false, it resets the count
I hope this helps you to finish your program
If you need further asistance don't hesitate to post.
Robst
| Robst - CLD |  |
| Using LabVIEW since version 7.0 |