ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PC Screen Capture

I am trying to make a minesweeper solver with Labview. I would like
capture the screen to analyze (specify the coordinates to capture, if
possible), but I cannot seem to find a *.vi that can output a BMP
file. Any suggestions would be much appreciated.

0 Kudos
Message 1 of 3
(2,949 Views)

"Write BMP File.vi" is what you are looking for but it isn't in the base package. 

Pallet path: Graphics & Sound >> Graphics Formats

 

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 2 of 3
(2,945 Views)
Hi Jordan,
as I understand, you want to directly capture the minesweeper window. This is possible with a little program, you can control it via command line. If you start it with /? there is a little help window, explainig the switches (x,y,width, height, jpeg quality). To read the crated bitmap file, you need the VIs mentioned above.
greets, Dave
Greets, Dave
0 Kudos
Message 3 of 3
(2,922 Views)