07-24-2014 01:07 PM
I had adapted my JKI RCF plugin to Quick Drop a while ago but never put it here. - http://lavag.org/files/file/199-state-machine-follower/
This plugin sets the Visible Frame property of a Case Structure while the owning VI is running. Use it to follow the execution through the cases in your string-based State Machine/Sequencer when Execution Highlighting isn't fast enough (and, it's never fast enough).
The use-case I wrote this to improve is setting a Breakpoint on the Error wire coming out of the main Case Structure and probing the Case Selector terminal so I can float-probe wires during execution. The problem with this is that I had to manually select the current frame every time. This is boring, so I developed this plugin to automatically set the Visible Frame to the case most recently executed.
1.Unzip the attached file into your \resource\dialog\QuickDrop\plugins folder
2.Select the (String) wire feeding a Case structure's selector terminal
3.Press Control-Space-Control-f
4.Enjoy watching your Case structure show the most recently run frame
07-24-2014 01:15 PM
This is what prompted me to publish this plugin - http://forums.ni.com/t5/LabVIEW/Is-there-any-Way-to-find-Which-case-is-Executing-in-LabVIEW-VI/m-p/2...