02-11-2013 10:10 AM
All,
I want to be able to launch and run a 3rd party program via LabView.
Launching the program via "System Exe.vi" is simple enough.
But now I want to programatically make all the button pushes. So instead of the user having to navigate the 3rd Party GUI, it would be done via Labview.
It sounds like I would need a dll and know the entry points but if I only had the exe is it still possible?
thanks
Solved! Go to Solution.
02-11-2013 10:15 AM
If you know the keyboard shortcuts, you could try using send keys:
http://forums.ni.com/t5/LabVIEW/Anybody-knows-how-to-do-send-key-function/td-p/348011
02-11-2013 10:19 AM
I've use Autoit in the past for this.
02-12-2013 10:11 AM
I tried the Autoit and like it. This may do the trick.
Are there any other ways to accomplish this same task?
thanks
02-13-2013 05:12 PM
Another option would be to use windows or user32 dlls to generate mouse clicks. But if the executable file isn't desinged for access promaticaly, it will be a harder task to accomplish. You can also follow below link for more help.
http://digital.ni.com/public.nsf/allkb/CA411647F224787B86256DD000669EFE
10-23-2013 09:43 AM
Can user32 be used to acquire a list of windows on the screen, select the application window and then obtain controls and indicators for populating and pressing? It seems like a form type of dll is probably what I'm looking for.
10-23-2013 10:15 AM
For LabVIEW front panels, NO.
You can't get a list of controls or indicators with user32.dll.
Since LabVIEW objects aren't window objects.