Jump to content

pushing several front panel buttons programatically in a sequence of a sub VI


Recommended Posts

Posted (edited)

I have a need to hit several front panel buttons of a sub vi in sequence. The sub VI houses an event structure that must happen in order to make a certain thing happen. 

I have a flat sequence structure. that turns off and on local variables that are then fed into the sub VI.

The subVI is called in its own while loop. 

the flat sequence is running and the local variables are changing correctly. However, the subVI in the while loop will not execute causing the event structure inside the subVI to not detect a change and nothing happens

The while loop that contains the subvi has no connects in or out of it, its all local variables

Any recommendations on how to fix this? Thanks

 

Edited by rscott9399
Posted

I'm pretty sure that you've built your block diagram incorrectly.  Just do it right and it will work fine.  (Since you didn't provide any code, I can't be more specific than that.)

  • Haha 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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