05-25-2009 02:20 AM
Hi
I am calling a subvi that contains 2 media player controls that are sync'd together, one playing video and one playing audio as the audio is stored in a separate file. The first time the main vi calls the subvi, the video plays with no problem. The second time the main vi calls the subvi, the video plays but with a black screen (still plays through the length of the file just cant see anything).
After the main VI is closed and re-run, it can then call the subvi once correctly, then once again the next time the subvi is run, the screen is black .. and so on.
When just running the subvi on its own (not called by another VI), this problem does not occur. I am closing the references to the players and using the request deallocation function in the subvi, but still no joy.
any ideas?
05-25-2009 07:29 AM
well, the first idea that pops up is that your question seems related to LabView and not CVI. Is it correct?
Wolfgang
05-25-2009 06:47 PM
05-26-2009 03:41 PM
Hi Mark,
Can you post the VIs so that we can see how you have it programmed? Does writing a smaller main and sub vi that only plays the video and audio show the same problem?