LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

. Dual output video card

I have a matrox g450 PCI video card that has dual ouputs.  I want to play a video signal (an avi file) and direct it to one of the ports but not the other using Labview.  How is this done?
0 Kudos
Message 1 of 4
(2,603 Views)

In Labview you can specify the monitor to display the window. It is a property of the vi.frontpannelwindow reference.  If you are not embedding the avi wiindow as a container in a vi, you could tru using user32 calls to get the handle to the player's windoe and call the move function to move it to the new location (somewhere on monitor 2).

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 4
(2,589 Views)
Paul is right, but the only problem might be your vversion of LabVIEW.  I don't think LabVIEW had that ability until version 8.5.
-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 3 of 4
(2,571 Views)

Yes this is a "newer" feature.  You should still be able to set the windows position using the windows bounds property in older versions but you will have to calculate the offest of each monitor in code.  To display an extended desktop monitor 2 start the left of the bounds with the width in pixels of the first monitor.  This can get messy since the resolution, orientation ... chan change depending on the installed system.

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 4 of 4
(2,560 Views)