LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

custom windows application access thorugh LabVIEW

Hii
 
I wanna to access any other custom windows program thorugh LabVIEW.
How it can be possible....
 
Puneet
0 Kudos
Message 1 of 7
(3,251 Views)

Hi Puneet,

You could try the ActiveX controls or the DLL files (Interface Nodes) to access with  the Custom Windows applications .

For example: Word and Excel can be accessed with Active X components.

Regards,

Sundar.

0 Kudos
Message 2 of 7
(3,249 Views)

Hi

You can also use System Exec.Vi located in Functions>>Connectivity >>System Exec.Vi  for command line execution applications,

for example Calc..

0 Kudos
Message 3 of 7
(3,245 Views)

Hiii

I tried ActiveX for it, but i am unable to find out the methods and properties for the following custom application.

For your information, that custom application is Flash Utility Software used for programming Microcontroller.

Puneet

0 Kudos
Message 4 of 7
(3,238 Views)
What is it that you're trying to do? Click buttons on these other applications? Run them, stop them? What?

If you're trying to control the GUI of these applications you can only do this if the applications expose an ActiveX interface. If they don't, you either have to mess around with the Windows API to simulate keypresses and mouse clicks, or use a third-party macro applications. Auto-It is a good one that I've used before.
0 Kudos
Message 5 of 7
(3,216 Views)
I have a program in LabVIEW, from this program i wish to access another custom application.
 
for example: i do have flash utility software (used for programming microcontroller), and i develop program on LabVIEW thorugh i can give all the required parameter to flash utility software (baud rate, com port setting, browse hex file etc) and accordingly flash do the same task and do the needful.
 
Here we see, we do not need to see GUI of flash utility software, only we used LabVIEW program in front end.
 
So, i do as given in above example..how i do it????
 
Puneet
0 Kudos
Message 6 of 7
(3,199 Views)

Even though you might not need to display the gui of the third-party app, you may have to. If the vendor (and who is the vendor) of the app did not provide some sort of mechanism, such as ActiveX, then your only options are to do what smercurio_fr suggested. There is no magic solution for control from LabVIEW or any other programming language. Contact the vendor and see what they have to suggest. They are the most familiar with the application and might be able to suggest something. You might be lucky. I had to automate a flash programmer and when I contacted the vendor, the told me that there was a command line option to their program. I could create an external file with LabVIEW and with the system exec function, start the flash program by passing it the name of the file I had created.

An answer to your question cannot be anything more than generic. Please ask the vendor.

0 Kudos
Message 7 of 7
(3,192 Views)