Jump to content

State Machine as a subVI of a State Machine


bdtm

Recommended Posts

Hi All,

 

I've got two VIs, both implemented as JKI state machines. I'd like to incorporate one of the SMs as a subVI into the larger SM (and display elements of its front panel on a tab). So far, it seems that trying to simply block the main VI as it (guessing) waits for the subVI to finish doing something.. but as it's in a state machine it never really completes. So can this be done? Has this been done? Any tips? I can provide more information if necessary.

 

Thanks,

Brian

Link to comment
Share on other sites

  • 2 weeks later...

.... display elements of its front panel on a tab....

 

Brian,

 

What you need is a "Subpanel" to display Front Panel of a VI (running independently) in another VI. Here is a link to an article on NI website describing the implementation of subpanel: http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/loading_panel_in_subpanel/

 

You do not have to make SubVI of one State Machine VI into another, but run them in parallel and independent and use Sub Panel to display front panel of one VI into front panel of another VI.

 

Hope this helps.

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.