06-22-2009 06:03 AM
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
Solved! Go to Solution.
06-22-2009 06:22 AM
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.
Blog for (mostly LabVIEW) programmers: Tips And Tricks