Jump to content

Set priority and reentrant run


Recommended Posts

As already stated in another thread, I'd like to set the priority of the VI from within the application. Since many objects are derived from the same class I use reentrant VIs, but the property node to set priority doesn't agree with Open VI reference "prepare for reentrant run" option.

Can I simply remove the "propare for reentrant run" option and use property node to set Execution.IsReentrant to get the same results?

Thanks, Mike

And to add to the problem, once one instance of the of the VI is running, it is not possible to create another instance of the same VI and set its priority...

Sigh!

Link to comment

As already stated in another thread, I'd like to set the priority of the VI from within the application. Since many objects are derived from the same class I use reentrant VIs, but the property node to set priority doesn't agree with Open VI reference "prepare for reentrant run" option.

Can I simply remove the "propare for reentrant run" option and use property node to set Execution.IsReentrant to get the same results?

Thanks, Mike

And to add to the problem, once one instance of the of the VI is running, it is not possible to create another instance of the same VI and set its priority...

Sigh!

It can be done (including your additional criteria) by saving the vi as a template (vit). You can then open it in edit mode (requirement for changing execution systems and priorities) modify the parms and then run it like this:

However. This is probably not very helpful in the long term since the priority property is "Read Only" in the run-time engine so if you deploy it it will fail:frusty:

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.