Example Code

Windows API Function Utilities (32-bit) for LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Description

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.

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

 

Related Links:
Product Manuals: Capabilities of the VI Server (LabVIEW Help)
Product Manuals: Call Library Function Node (LabVIEW Help)
Product Manuals: Example 3: Call the Win32 API (LabVIEW Help)
LabVIEW.LIB Error When Calling a LabVIEW DLL Built with VIs That Use External Code

 

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

Comments
HJT水
Member
Member
on

nice~