To download NI software, including the products shown below, visit ni.com/downloads.
This example demonstrates how to embed a VI or an application on another VI front panel. This example uses Windows API (user32.dll) to get the handle of the VI or application and embed it inside the running VI front panel. The functions being used are FindWindowA function and SetParent function.
Description-Separate-2
The example code would work for application that has only a single window handle name and not for application that may have multiple tab names as its window handle. For example, Notepad in Windows 11 would not be able to embed onto the front panel using this code since it has multiple tab names.
Call Library Function Node - LabVIEW Help
Related-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.