Calling Into The Win32 API From LabVIEW
Overview
On occasion, you might want to perform Windows functions that are not currently exported through the existing LabVIEW VIs. The call library function node provides a way to access these functions. For example, you can use SDK calls to implement programmatic control of windows, to find the location of the mouse cursor, and to access certain system properties, such as network information and username.
This document duplicates content from the following topic in the LabVIEW Help: Example 3: Call the Win32 API and Unicode Versions and ANSI Versions of Functions.
Reader Comments | Submit a comment »
Update
Thanks for your feedback. We've made some
changes and updated this tutorial based on
your input.
- Jon M, National Instruments. - Nov 26, 2007
Problem with title
It should have been Win32 api
programming,
Anyway NI should take effort to make a
NI compatible constant builder from
given SDK source files.. Its a nighmare
trying to figure out calling mutiple API in
labview.
Try using third party API Info viewer and
keep win32 API help compiles by various
guys on internet handy.
I dont recommend specific products to
avoid advertisement.
By
Mohiuddin Khan Inamdar
http://www.mohitech.com
Simyx Microelectronics.,
- Mohiuddin Khan Inamdar, Simyx Microelectronics China. khanatsimyxmicrolectronicsdotcom - Apr 19, 2007
Can't download code on this page? Bummer.
It would be nice to be able to download the
code shown on this page
- Jul 11, 2003
SDK?? You mean API.
SDK is an acronym for Software Development Kit. All the examples in this
article refer to the win32 API (application program interface). With the
proper header files anyone can access the win32 API without ever having seen
the SDK. Just my $0.02.
-RM
- R Montalbon, UC Berkeley. retardo_m@hotmail.com - Jan 28, 2002
Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
