I have to capture a portion of screen, but there are no functions of IMAQ to do this. How can I do?

I have to capture a portion of screen, but there are no functions of IMAQ to do this. How can I do?

What portion of the screen are you trying to capture? Is it video, or is it a standard snapshot?
If you are trying to capture video from the screen, I don't think there is an easy way to do it.
For a snapshot, there are a couple of options. If it is part of the LabVIEW screen, there are some property nodes or methods that output a bitmap image of the screen. If it is a separate application, your best option is to use the Windows screen capture. Basically, you need to emulate the keypress for capturing the screen to the clipboard, then paste the clipboard into an IMAQ image. For an example of how to do this, search the Developer Zone for the example that shows how to merge overlays with an image. This was necessary before Vision 6.1, which now has
an option to merge overlays.
Bruce
Bruce Ammons
Ammons Engineering

Similar Messages

Maybe you are looking for