05-16-2025 08:47 AM
Hello,
I'm doing data acquisition using a cDAQ, and I created a subVI doing the acquisition (and saving / export) of each module. This subVI will be called 4 times to get the 4 modules done, but I need to launch them in parallel because there is a while looping (starting and stopping the acquisition) wich is given by the master via a global variable.
Do you know is there's a way of doing so or if i'll absolutely need to completely change my code so that the subVI doesn't have a while loop ?
If you need more informations i'll give them ofc
Thx for your help !
Solved! Go to Solution.
05-16-2025 09:10 AM
If you make the subVIs reentrant, each instance can execute independently and in parallel.
Of course the caller also needs to be architected correctly. We can't really tell what you are doing from the sparse description.