07-05-2012 04:32 AM
Hi! There's an application written in LabView that shows dialog messages with buttons and textboxes. I'm writing a C# application that automatically fills these textboxes and clicks on buttons. I'm using user32.dll functions to find windows and controls, but at Labview's windows I cannot see any controls inside(with spy++ and ui spy). Is there a way to access these controls using other DLL files or sending special messages to the main window?
Tnahks for your help!
07-05-2012 05:34 AM
@taj1989 wrote:
Hi! There's an application written in LabView that shows dialog messages with buttons and textboxes. I'm writing a C# application that automatically fills these textboxes and clicks on buttons. I'm using user32.dll functions to find windows and controls, but at Labview's windows I cannot see any controls inside(with spy++ and ui spy). Is there a way to access these controls using other DLL files or sending special messages to the main window?
Tnahks for your help!
LabVIEW does not use Windows controls in its frontpanel, as that would not be portable to non-Windows platforms. So there is no way to do classical Windows handles peek and friends. But LabVIEW allows to control a subset of its VI Server interface through ActiveX.
The application needs to be build with that in mind, and there need to be some settings in the INI file to configure this functionality. Then you can connect to the LabVIEW ActiveX Server and control VIs and also controls to some extend.
07-05-2012
06:36 AM
- last edited on
06-09-2025
04:37 PM
by
Content Cleaner
Functionality provided by LabVIEW as an ActiveX Server
Activating LabVIEW as an ActiveX Server
Christian