LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PRINT SCREEN of Desktop

hi every body... here i have a doubt.,

 

am using labview 2009. i just briefly explain my project below..

 

i have connected a camera in pc1 and i can monitor in Desktop,,,and i have microcontroller board interfaced with motion sensor whenever somebody enter that particular region it ll send the emergency condition to pc1 through serial.... then that time i just want to take the printscreen automatically from PC1 Desktop and i have to send to remote PC2....

 

i familiar wit serial port and udp programming in labview.. here my plan is in pc1 i just want to run labview application in backround.... , in PC2(remote pc) i ll show the picture in front panel....

 

so please any one give idea about print screen control......

 

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

Hello,

I'm not sure that taking a screenshot and transfering it from Pc1 to Pc2 via tcp is the best option, maybe you should set up a VNC like solution.. no?

 

However, using the VI attached you can generate keyboard events - select "SNAPSHOT" in the dropdown menu - and then use the beautiful code published here to retrieve the data from windows clibpboard and the you just have to save it to disk and transfer it.

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 3
(2,190 Views)

thanks for your reply...

 

ya ... printscreen working fine..... and i saved as jpeg file 🙂

0 Kudos
Message 3 of 3
(2,181 Views)