04-06-2007 03:14 PM
I am running a Linux (no NI Vision support) LabVIEW application where I have a “main” DAQ VI collecting raw u8 data. I want to be able to display the data as an image in a sub-VI. The first time I call the sub-VI to display the first image everything works fine, however, on the second and subsequent calls to the sub-VI I get an error saying that the sub-Vi is already open and needs to be closed before being called. I don’t have the screen space to adequately display images in the main VI and still have the DAQ controls visible.
Is there a way to have one VI continuously collect and format image data and then display the data in a second VI?
Thanks in advance
04-09-2007 09:43 AM
04-09-2007 07:15 PM
Thank you for the reply ![]()
In the example you provided the sub-VI is called, executes, and terminates. I need to be able to repeatedly call a sub-VI that does not terminate. I need to do this so that I can update an image and allow an operator to view the image (and perform event functions on the image such as mouse click).
Is there a way for a main VI to call a sub-VI and not have to pend (wait) for the sub-VI to complete execution?
Is there a way to call (i.e. pass data) to a sub-VI that is already running?
Thank you again for your help
04-10-2007 05:55 PM
04-10-2007 06:39 PM
04-11-2007 09:26 AM
04-11-2007 10:18 AM
Perfect!
That’s exactly what I needed ![]()
Thanks for all your help
04-12-2007 08:17 AM
04-19-2007 12:38 PM
Hi Ching,
Can you please suggest how to attach the VI file to our question / answer.
The attachment shown below does not work.
THANKS
04-19-2007 01:18 PM
nnnsh
You just click on the Browse button and select the file you want to attach. DO NOT click the preview post. This will clear the attachment field and you will have to re-attach it.