Jump to content

order of execution in case structure


justus

Recommended Posts

I have a VI that is executing a case structure and within it are twe events in the same structure where event 2 requires event 1 as an input. I have put event 1 right above event 2 but the program is picking event 2 before event one and hence confusing the process. Is there a way I can condition the VI that event 1 has to be perfomed first before event 2 in the same case? Thanks

Link to comment
I have a VI that is executing a case structure and within it are twe events in the same structure where event 2 requires event 1 as an input. I have put event 1 right above event 2 but the program is picking event 2 before event one and hence confusing the process. Is there a way I can condition the VI that event 1 has to be perfomed first before event 2 in the same case? Thanks

Posting your code or some example of what you are trying to do would make it easier to help you.

Link to comment
I have a VI that is executing a case structure and within it are twe events in the same structure where event 2 requires event 1 as an input. I have put event 1 right above event 2 but the program is picking event 2 before event one and hence confusing the process. Is there a way I can condition the VI that event 1 has to be perfomed first before event 2 in the same case? Thanks

I agree that there isn't quite enough info in your post about how your program is structured, but what it appears you're after is a state machine. I've attached a simple example just in case it will help you out.

Download File:post-3266-1140491062.vi

Joe (orko)

Link to comment

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.