From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is fast screen capture possible?

Hi, I was wondering if there is anyway I could implement desktop screen capture in labview at decent rate(at least 20 fps). The screenshots will be continuously processed to extract color information. 

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

Likely the only way to do that is by accessing directly the WinAPI. However doing efficient screen capture through WinAPI is not as easy as calling a single Windows API function. It is quite a bit more involved and the code needs to be able to handle various bit depths in order to work in various screen resolution setting.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(2,452 Views)

May be you can use this as a start point:

https://decibel.ni.com/content/docs/DOC-19720

 

I haven't really tested it, but I don't think you will be able to run it and process the images live as fast as 20 FPS. Do you really need to do this live or can you record the images in video and process them offline?

Camilo V.
National Instruments
0 Kudos
Message 3 of 3
(2,392 Views)