05-07-2012 11:21 PM
Hi, i have a problem.. i hope it is easy to solve.
I did a VI using Grab IMAQdx so that i can adquire images from a USB Camera and save a video. It works great and i acquire and save the video. The problem is that when i try to do this VI as a subVI it doesn't work. For the subVI i'm using one terminal the one for the image display. When i run the program i can't see any image (set of images because i'm using grab and it seems like a video), but it seems that the subVI woks because when i open the file where the video was saved, the video is there but i can't see it at the momento on the front panel...
Solved! Go to Solution.
05-07-2012 11:48 PM
Your main vi will not update the image that you acquire in the sub vi because you would be running your sub vi inside a loop ( I guess). What you can do is create a global variable of Image display indicator and update the indicator inside the sub vi. In the main vi create a seperate while loop and read the global variable and display it in the main vi. Need a better solution? please post your code.
05-09-2012 09:25 AM
I just have DAQ assitants acquiring signal and with those signal doing some other operations. That's my subVI. Inside this subVI i have some indicators (led) indicating the value that the DAQ assitants give (i'm using digital inputs). I made this indicators terminals of the subVI and in the main VI i wired this terminals to the new indicators, but it seems not to work. I have other bottons in the subVI and the terminals also seem no to work. What could i do?