02-03-2012 12:38 PM - edited 02-03-2012 12:43 PM
How can I call an executable labVIEW-built application from a running VI block diagram without stopping the running VI?
02-03-2012 12:42 PM
You would have to use teh system exec VI like you would any other external exe. You will not have access to anything like the connector pane of your application.
02-03-2012 12:46 PM
But this would stop temporarely the caller VI .
02-03-2012 12:55 PM
But this would stop temporarely the caller VI .
02-03-2012 01:08 PM
You could include this in a small parallel task in your code. This particular task would wait for the external application to complete but your other tasks would be able to run.
02-03-2012 01:53 PM
Sorry, but as I'm a beginner, would you tell me how to add a 'small parallel task' to my code? Thanks alot.
02-03-2012 03:33 PM - edited 02-03-2012 03:34 PM
The easiest way is to create two While loops on your diagram. These loops should be next to eacho, not one inside the other. Also, there should be no wires connecting the two loops. It is OK if you have a wire branched as inputs to the two loops but you should not have the output of one wired to the other loop. The code in each While loop will run independently of each other.
You can look at the examples that ship with LabVIEW for producer/consumer and parallel tasks for more information.
02-05-2012 12:33 PM
Thank you for your help. I'm done with this but I guess I will bother you again very soon ... if you let me.
02-05-2012 01:55 PM
Then mark Mark's post as the solution to your question rather than your thank you message to give him proper credit.
First you will need to go to the options menu to the upper right of your message to unmark it as the solution.