Hi, i need error message to occur only the first time it appears.See attached file.When error occurs in string it pops up errormessage, but it keeps repeating each time it sens the correct string /Match.What is best way to handle this case? any suggestions? Thanks.
해결되었습니다! 솔루션으로 이동.
10-02-2009 06:37 AM - 편집 10-02-2009 06:38 AM
If I understand your problem correctly... you could just put the 'display message to user' in a case statement with a flag that goes false once the message has already displayed.
JChec
Close to solution, but it cant be like this because i have to set the flag everytime i start the test.I need it to be automatically but just once.Now it is just once (fine) but needs to be set each time.
Not sure what you mean that you need to set the flag each time you start the test. How do you start a test? Can you not use that "signal" to also reset the "first error" flag?

날짜: 10-02-2009 08:14 AM
If you have a loop, place the flag on a shift register. Initialize the SR with false. It is much better codeing than using a FP control for the flag.
Felix
