Jump to content

Timing probe for the State Machine Toolki


TonP

Recommended Posts

For debugging a VI with the state machine toolkit I wrote a quick probe that lists the longest time for every state sorts the results to detect 'slow' states:

 

JKISMProbeFP.png

 

Here is a screenshot of the actual code:

JKI_SM_Timer_BD.png

 

Drop this probe on the the inpute wire of the state selector:

 

ProbeLocation.png

 

Have fun,

 

Ton

JKI_SM_Timer.vi

Link to comment
Share on other sites

For debugging a VI with the state machine toolkit I wrote a quick probe that lists the longest time for every state sorts the results to detect 'slow' states:

 

JKISMProbeFP.png

 

Here is a screenshot of the actual code:

JKI_SM_Timer_BD.png

 

Drop this probe on the the inpute wire of the state selector:

 

ProbeLocation.png

 

Have fun,

 

Ton

JKI_SM_Timer.vi

 

 

Very nice Ton, thanks for that, I intend to use it today.

Link to comment
Share on other sites

One thing to look out for is that after restarting the VI, the timing should be resetted.

 

Ton

 

 

ah, I cannot easily save it for LabVIEW 8.2.1 as I hoped because of the feedback nodes.

 

If you get time could you post a 8.2.1 version, I may try and look at changing it myself if I get time later

 

 

cheers

 

dannyt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.