Recommend that the “retain wire values” feature continue to retain the values EVEN AFTER the program pauses, errors-out, stops, or is aborted by the programmer. What good is it if the program stops and you can’t probe the history? The system was maintaining the values up to that point anyway. There should be no reason why those values cannot be retained in memory after a stoppage, at least until someone attempts to make a change to the program.
I determined that a workaround for this issue is to create a separate while loop the never stops. Then, when the program comes out of the main loop with an error, the separate while loop keeps the program running so you can see all the retained values. Naturally, lines that did not execute have no line info.
Bob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.