Calling VIs That Create ActiveX References
- Updated2026-07-27
- 1 minute(s) read
Avoid LabVIEW hangs and 100% CPU usage when calling VIs that create ActiveX references from a single-threaded apartment thread.
LabVIEW might seem to hang with 100% processor use when all of the following conditions are true:
- You call a LabVIEW VI that creates ActiveX references, such as calling the ApplicationMgr.GetEngine method directly.
- You configure the VI to use the same as caller execution system.
- You call the VI from a sequence running in a single-threaded apartment thread.
Change the Preferred Execution System option in LabVIEW to a value different from same as caller to work around this issue.
Related Information
- Evaluating Conditional Disable Structures and Symbols
- Calling VIs That Use XControls
TestStand supports calling VIs that use XControls on Microsoft Windows systems.