LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for Lab Windows CVI - Win32 API call examples....

I am new to Lab Windows CVI and am looking for any examples that can show

how to read the contents of a 3rd party program's edit box and set the contents

of the same edit box (ID=105 from list below) from Lab Windows CVI using the Win32 API calls. 

 

Does anyone have an example of how I might set this up? 

 

 

Specifics about my 3rd party application:

 

Window name = LaunchPad


Parent        Child1        Child2           Class               ID        Name 

---------         --------         --------           --------------        ------       -------------------  

   0                                                  wb0wcdl3         0          LaunchPad     

   0                1                                ComboBox     100        

   0                1               1                Edit              1001       

   0                2                                 Button           101       

   0                3                                 Button           102       

   0                4                                 Button           103         Check Box1  

   0                5                                 Button           104         Radio button 1     

   0                6                                 Edit               105       

   0                7                                 Static            106          Command:  

 

 

Thank you!

0 Kudos
Message 1 of 7
(4,265 Views)

Did you try autoit?

Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 2 of 7
(4,257 Views)

what is autoit?

 

0 Kudos
Message 3 of 7
(4,254 Views)

With autoit you can control other windows programs by simulating mouse and keystrokes and also reading values from standard windows controls of other application.

http://www.autoitscript.com/site/autoit/

 

http://www.autoitscript.com/site/autoit/downloads/

 

Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 4 of 7
(4,249 Views)

So is autoit an alternative to using Lab Windows for controling Win32 API controls or is it somehow used with Labwindows?

 

I was really hoping that Lab Windows would be complete enough to handle this without having to add another add on type application...

 

0 Kudos
Message 5 of 7
(4,235 Views)

Hi Robojeff,

 

I doubt that you will be able to find an example for this, however the following KnowledgeBase article will help you get started regarding making these calls. Good luck with your project!

Regards,
Jackie

DAQ Product Marketing Engineer
National Instruments
0 Kudos
Message 6 of 7
(4,210 Views)

Correction,

 

This KnowledgeBase article.

 

Regards,

Jackie

DAQ Product Marketing Engineer
National Instruments
0 Kudos
Message 7 of 7
(4,204 Views)