Feedback on NI Community

cancel
Showing results for 
Search instead for 
Did you mean: 

Using The Same VI in Parallel Threads

I have an application which calls two independently running VI's from a main VI.  The three VI's communicate via queue's.  I have a command and data queue for each VI where the command queue uses a typedef ring control and the data queue sends flattened data structures as strings.  I have created different sets of command and data queues to avoid conflicts but I have used the same VI to send commands, ie the VI "Send Command" could be called simultaneously from any of the three running VI's to place commands on the different command queues.   Does this invoke the same VI as reentrant code or does this method invoke copies of the same VI?  I am getting some strange results where one of the VI's does not process its commands correctly.  Thanks.
0 Kudos
Message 1 of 2
(3,751 Views)

___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(3,744 Views)