JKI Discussion Forums
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

State Machine as a subVI of a State Machine Can it be done?!

#1
User is offline   bdtm 

  • Group: Members
  • Posts: 1
  • Joined: 06-January 12
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
0 kudos

#2
User is offline   Ashish 

  • Group: JKI Team
  • Posts: 26
  • Joined: 31-July 06
  • Gender:Male

View Postbdtm, on 06 January 2012 - 06:47 PM, said:

.... 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/r...el_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.
Ashish Uttarwar
Product Support Engineer and Certified LabVIEW Developer, JKI
0 kudos

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic