12-20-2007 10:57 AM
12-20-2007 03:50 PM - edited 12-20-2007 03:52 PM
Hi davincy here we have 2 different Issues, and that’s what I think caused the confusion.
Normally in LabVIEW when you have 3 instances of the same subVI, what it would do is create a single space VI in memory and it will become a shared resource, this will make that it can be only used by one of the calls at a time. When you make it reentrant what LabVIEW will do is create the 3 VIs, in memory allowing parallel access to this code, this doesn't mean that the dataflow will continue. This is useful to achieve higher processing speed but consumes more memory in the computer.
Now for making your VI running, and not stopping because of the while in the subVI, there are 2 options:
The first and easier one is just place the SubVI outside the main loop. As it has a loop in itself it will continue running, and won’t affect the dataflow in the main cycle.
The other option is using a dynamic call with VI Server trough property nodes, and configuring it to not wait until finished.
Best regards
12-21-2007 12:29 AM
Duplicated thread
http://forums.ni.com/ni/board/message?board.id=170&thread.id=291538