LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

autoit and labview

Anybody has experience with using autoit in LabVIEW?  The problem that I worked with use the ActiveX interface of autoit.  What other interface is there?  When you use the ActiveX interface, do you have to install autoit in the deployment machine?  I notice that when I use the activex interface, I don't have to specific a path at all.  why is that?  

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

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 10
(5,266 Views)

The ActiveX interface must be installed for LabVIEW to use it so yes you must install Autoit to use the features in an ActiveX container.  An alternative is you can have AutoIt make an EXE, and then LabVIEW can send command line parameters to the premade EXE.  This works because the run-time needed for AutoIt programs is included in normal Windows installs.  I've also seen some DDE communication between a LabVIEW program and an AutoIt program, but depending on your needs the commandline option may work.

Message 2 of 10
(5,250 Views)

When I said acticex, I didnt' mean I use activex container.  It is just how to I call the autoit functions withing labview.  

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

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 10
(5,216 Views)

Technically it should be enough it you copy and register the DLL from Autoit. (which i assume exists)

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 4 of 10
(5,208 Views)
What exactly is your problem with using the ActiveX interface? Why do you want to specify a path? Once the dll is registered with the OS, that is all that is required.
Message 5 of 10
(5,193 Views)

When is the DLL registered with the OS?  If I use the activex interface, do I have to install autoit in the deployment machine?  

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

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 6 of 10
(5,169 Views)

@jyang72211 wrote:

When is the DLL registered with the OS?  If I use the activex interface, do I have to install autoit in the deployment machine?  


The DLL is registered with the OS during the autoit install.  This means either install autoit on the deployment machine, or register it manually if you insist on using the ActiveX interface.  Is there a reason you don't want to install autoit, but want to use it?  Have you looked into a silent install of autoit if it is not installed already?

Message 7 of 10
(5,158 Views)

I just thought it is a lot troublesome that I can just compile an installer to have everything install.  I just want to see is there a way to go about this, so that I don't have to install autoit sperately. 

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

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 8 of 10
(5,146 Views)

You can compile an installer to have everything install that you need, but it takes more work like researching how to install Autoit silently.  Then have your NI installer call the AutoIt installer silently so the user doesn't know it is being installed.  Or use a program like Inno Setup to install both the Autoit components, and the NI components together.

Message 9 of 10
(5,143 Views)

SERIAL DATA TRANSMITION SENDING DATA TO SAME PC USING 2 PORTS

 

0 Kudos
Message 10 of 10
(149 Views)