Hi Marcus, I did something very similiar a couple of years ago. I believe I was using a Matrox dual monitor card. I do remember having to wrangle with it to get it to work. I just looked at my code and noticed that my main vi (on the primary monitor) uses vi server to opens up a 'player.vi' and then performs the following actions:
1. start player.vi running 2. open player front panel 3. change winbounds to move vi to second monitor area 4. delay 4 s then I call a lvwutil called 'move window to top' which moves the main vi to the top level graphics layer meanwhile in the player vi the following sequence happens: 1. load avi into media player 2. issue play command I am not really sure why the 4s delay is necessary but something in my main vi was conflicting with the player and I never was able to identify what that was. This was originally in LV6 so things may be different now in LV7 Good Luck, Mike Sachs Intelligent Systems Sarasota, FL ----- Original Message ----- From: "Markus Buchner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 26, 2004 3:20 AM Subject: SubVI with Media-Player-ActiveX Container on second monitor > Hi, > > I have a problem in displaying an avi-file with the media-player ActiveX > Controll on a second monitor. > > The situation is: I have the main VI running on the primary monitor. This VI > will open a sub-VI on a second monitor. On the front panel of this sub-VI is > an ActiveX container with the media player object. But if the avi-movie is > running, there is just a black area visible. If I open this VI on the > primary monitor its fine, if I open it on the primary monitor and move the > window to the second monitor its also working well. > Has anybody had already the same problem and found a solution? > > Thanks in advance, > > Markus > > > Markus Buchner > University of Heidelberg > Germany > > >
