LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What happens when say two parallel process call the same VI in an FPGA?

Solved!
Go to solution

Hi All,

 

I was wondering, what happens when say two parallel process call the same subVI in an FPGA? I am thinking that the FPGA would create two instances of the subVI, not sure. Any views?

 

 

Thanks,

 

 

Altras 

0 Kudos
Message 1 of 2
(2,349 Views)
Solution
Accepted by topic author Altras

I don't know if FPGA adds any special rules, but in regular LabVIEW, and in Real-Time LabVIEW, a VI by default is non-reentrant.  Therefore a process that calls it when it's already in use is blocked and has to wait.

 

If the VI is reentrant, though, then you have two (or more) dataspaces for the VI, so each can execute independently. 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 2
(2,343 Views)