LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get screen capture during other app running

hi, Expert,

I want to catch screen capture during other test app running, could you help to see my code and why i cannot got a fixed window location pic,

 

I also found a NI example 2012, this is full screen capture, could you also help to modify to my target app, 

example like if i want to capture Excel, then it can pull Excel window in front and only capture this window without background, if i choose another .exe window, it also works. OR fix a screen location like X,Y,top, bottom, etc .

 

Elena

Download All
0 Kudos
Message 1 of 3
(158 Views)

Hi elena,

 


elena-gao@ti.com wrote:

OR fix a screen location like X,Y,top, bottom, etc .


Once you got the fullscreen snapshot as image you can easily use image functions to crop the image as needed…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(130 Views)

If your target window is active window, you can simulate alt+printscreen to capture just the active window.

 

Can't open the attached VIs, which is actually in LabVIEW 2019.

 

 

George Zou
0 Kudos
Message 3 of 3
(93 Views)