Overview
This example is a full desktop capture application, allowing you to record your screen into a video file.
I have written this example quite some time ago now, but always felt that re-writing it is too big of a burden. This afternoon however I have finally pushed myself to turn that spaghetti-code mess into something more readable (well, at least I hope so).
This application can be used to capture your desktop into an AVI video. I guess it can be quite useful if you are interested in making things like video-tutorials and etc. but feel free to use it (and most importantly change it) to your needs.
Description
In order to capture the screen I have used Windows User32.dll file that I call from within LabVIEW. Using it you can simulate PrtSc button key-press. Every time PrtSc is pressed the screen capture goes to clipboard, from which using IMAQ ClipboardToImage application acquires an IMAQ image and then AVI file is written to using IMAQ AVI2 Write Frame. This is done every defined amount of time to build a video file.
I have also implemented some additional functionality to the application such as:
And many more...
Steps to Implement or Execute Code
Couple of notes:
Requirements
Software
LabVIEW 8.6 or later
NI-IMAQ
Hardware
Additional Images or Video
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.