From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Windows API Function Utilities (32-bit) for LabVIEW

Code and Documents

Attachment

Download All

The abilities of LabVIEW VI Server supersede the functionality of the attached VIs. National Instruments recommends that you use VI Server functionality for new applications. Implement calls that VI Server does not support through the Windows API directly by using a Call Library Function Node.

These VIs make calls to the Windows Application Programming Interface (API) for managing and controlling windows (minimize, maximize, move, resize, rename, close, etc); managing applications (run application, quit application, print file, etc); adding and removing network resources; keyboard filtering; and system utilities (mouse cursor position, windows path, screen resolution, system path, etc). These VIs are intended for use only on 32-bit Windows platforms.

These utilities were originally created with LabVIEW 3.1, but have been recompiled into LabVIEW 6.0 and 8.6.1 for your use.
The _labview_win_util_32.zip archive contains the files saved with LabVIEW 6.0.
The labview_win_util32_86.zip archive contains the files saved with LabVIEW 8.6.1.

Chris Van Horn
Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors