Jump to content

Recursive VI


Recommended Posts

Say perhaps I have a device that errors out and I want to start the main VI over to re-initialized devices, can this happen during the middle of the main VI?

Ah, that has nothing to do with recursive-ness.

You shcould use a state machine that starts a 're-init' state upon certain errors.

Ton

Edited by Ton Plomp
Link to comment
  • 4 weeks later...

Say perhaps I have a device that errors out and I want to start the main VI over to re-initialized devices, can this happen during the middle of the main VI?

Yes it can

Using a state machine with exception handling built in would solve your problem though there would be some time in learning how to

make one (or get one) and then learning how to use it.

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.