LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out our General Code Repository Files. Also, before posting here, check to see if your post doesn't fit into another subforum by category.


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> how to capture the screen image?
cls9215
post Oct 6 2004, 06:24 PM
Post #1


Active
*

Member
Posts: 10
Joined: 6-October 04
Member No.: 756
LV:7.0


hello everybody:

I have a question about capture screen image in LabVIEW 7.0.

What vi is can be used to implement this function??

Sincerely rolleyes.gif


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Oct 6 2004, 06:24 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Jimmy-Chen
post Oct 7 2004, 05:36 AM
Post #2


More Active
**

Member
Posts: 37
Joined: 22-September 04
From: Taipei,Taiwan
Member No.: 705
LV:7.0
Taiwan


QUOTE (cls9215 @ Oct 7 2004, 02:24 AM)
hello everybody:

I have a question about capture screen image in LabVIEW 7.0.

What vi is can be used to implement this function??

Sincerely rolleyes.gif
*


I have attached a VI(Saved in LabVIEW 7.0) in this topic.

This attachment code can help you capture and paste screen image on front panel.

Holp this can help you..

Attached File  Capture_Screen.llb ( 47.57K ) Number of downloads: 488


This post has been edited by Jimmy-Chen: Oct 7 2004, 05:44 AM

--------------------
Best Regards

Jimmy Chen


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Minh Pham
post Sep 29 2008, 10:57 PM
Post #3


Very Active
***

Member
Posts: 69
Joined: 12-June 08
From: Sydney
Member No.: 11757
Using LabVIEW Since:2006
LV:8.5.1 ,8.2.1 ,7.1
Australia Vietnam Nothing Selected


You can use the Invoke note to get the control/indicator image, also the whole front panel img if you want.


--------------------
Minh Pham <><><>Stop Writing...Start Wiring<><><>


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
giopper
post Oct 11 2008, 04:42 PM
Post #4


Active
*

Member
Posts: 15
Joined: 12-October 05
Member No.: 3209
Using LabVIEW Since:1997
LV:8.20 ,8.0 ,7.1
Germany Italy Nothing Selected


QUOTE (cls9215 @ Oct 6 2004, 08:24 PM) *
hello everybody:

I have a question about capture screen image in LabVIEW 7.0.

What vi is can be used to implement this function??

Sincerely rolleyes.gif


I attach a VI that I use to programmatically update the snapshot of
a computer's desktop in a webpage camera.gif

To run this VI you need the clipbrd.llb library.

The VI uses a call to Win32 API function "keybd_event" in user32.dll,
therefore it only works under Win32.
The "invoke node" method suggested before should be platform independent
but does not provide the entire screen.

Note:
the enumerator used to select the "print screen" key includes many other
(probably all) possible values to call the "keybd_event" function
(I found it somewhere but I don't remember where,
I apologize with the author for the lack of credits worshippy.gif )

I use LabVIEW 8.2 and I can down-convert the file only to 8.0.
I hope you can find a way to convert it down to LabVIEW 7.0
(volunteers?)

Have fun beer_mug.gif
G
Attached File(s)
Attached File  screen2jpg.vi ( 33.23K ) Number of downloads: 32
 


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 22nd November 2008 - 02:30 AM