LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I control an external (3rd party) gui with Labview?

I'm interested in writing a LabView program to control a separate GUI - say, Windows Minesweeper. 🙂  How does one talk to external applications?

Seriously, what I want to do is use an existing application (that manages many register read/write operations to my DUT) through LabView - i.e. instead of a technician clicking here and there, I want my LabView program to take care of this.  I am hoping to avoid re-implementing the I2C calls in LabView (even though I know the drivers are there....)

Thanks,
Ken
kenwyee@gmail.com
0 Kudos
Message 1 of 8
(3,812 Views)
If the application doesn't have an ActiveX or COM interface then you're kind of left with trying to control the keyboard from LabVIEW so that the application "sees" the keystrokes as if the user entered them Of course, if the application requires mouse clicks then you've got to control the mouse. Perhaps the application allows you to "script" something? Sounds like a whole lot of work, and in the end it will probably be easier to do the I2C from LabVIEW, which really isn't all that hard.
0 Kudos
Message 2 of 8
(3,809 Views)
I use a program called macro express for this type of stuff. http://www.macroexpress.com/
0 Kudos
Message 3 of 8
(3,799 Views)
Cool. That seems like an impressive little product for only $40.
0 Kudos
Message 4 of 8
(3,795 Views)
ooh, that does look like a cool tool (macro express) - but then, can THAT be controlled by Labview? (i.e. my LV program would be doing a bunch of things, including controlling my GUI).  Thanks for the info re: scriptability, COM or activeX controls - I'm meeting w the developer later on today

0 Kudos
Message 5 of 8
(3,791 Views)

Hi,

I am essentially interested in the same question, i.e. I want to control an external (3rd party) gui with Labview. Essentially I want to bring up tje 3rd party window, perform a few mouse clicks and enter some text (automated saving). I am surprised no one came up with a solution to this problem since 2006. Can you point me towards some possible solutions?

Thanks,

Rob

0 Kudos
Message 6 of 8
(3,295 Views)
Try AutoIT. There have been several posts pn it.
0 Kudos
Message 7 of 8
(3,289 Views)

I would also suggest autoIT. Its free, simple and yet powerful.

Tushar Jambhekar
tushar@jambhekar.com

Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

0 Kudos
Message 8 of 8
(3,273 Views)