Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are reentrant VIs?

reentrant vis
0
Posted

What are reentrant VIs?

0

A VI is described as reentrant when LabVIEW creates a separate data space for each instance of the VI. This allows multiple independent calls to the subVI to run in parallel. This also is useful when you need each instance of the VI to keep track of their individual states. Use Functional Globals to accomplish the oppositemultiple instances of a VI that all save their state in one location. You cannot make Functional Globals into reentrant VIs. By default, VIs are not reentrant and the execution system will not run multiple calls to the same subVI simultaneously. If you try to call a subVI that is not reentrant from more than one place, one call runs and the other call waits for the first to finish before running.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123