Actor Framework Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Debug Console Actor

Thought this might be useful to some. This has been invaluable to me in my dealings with AF. This is based on the debug actor of Angry Eagles, with some additions.

Features:

1. Enabled/disabled via project variable, so very easy to remove all debug messages

2. Console shown online

3. Color filtering of lines in console

4. Ability to save log and filter the log

5. Queue is easily accessible from all actors and VIs via FGV

Please see attached example project with debug console and example actor. To see all features:

  1. In debug console->actor core, go to the menu item event, filter log case, and modify the express VI so that the file path exists.
  2. run example launcher.vi
  3. See messages updating in debug console
  4. play with color filters if you want
  5. close front panel of example actor
  6. In debug console, go to file->save and save the log
  7. In debug console, go to edit->filter and see only the lines with the given word (e.g. "time") in an html report using the file configured in 1.
  8. close front panel of debug console.
  9. Change project variable debug to FALSE
  10. Run example launcher again, debug console doesn't appear and no mesages are sent to it.

Any questions, corrections or suggestions are welcome. This is in LV13.

"Wisdom comes from experience. Experience is often a result of lack of wisdom.”
― Terry Pratchett
Contributors