10-29-2013 11:30 AM
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?
10-29-2013 01:38 PM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-30-2013 08:46 AM
When I said acticex, I didnt' mean I use activex container. It is just how to I call the autoit functions withing labview.
10-30-2013 09:20 AM
Technically it should be enough it you copy and register the DLL from Autoit. (which i assume exists)
/Y
10-30-2013 11:22 AM
10-31-2013 01:16 PM
When is the DLL registered with the OS? If I use the activex interface, do I have to install autoit in the deployment machine?
10-31-2013 02:23 PM
@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?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-31-2013 04:13 PM
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.
10-31-2013 04:19 PM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-25-2024 05:01 AM
SERIAL DATA TRANSMITION SENDING DATA TO SAME PC USING 2 PORTS