LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to link third party software with labview program ?

I have designed a labview  
program to analyse and make  
graph and save the datas  
from the photon counter using  
ni USB DAQ 6008. And the  
photon counter is controlled  
by the third party software with  
itself. both programs are  
executing successfully. But  
my task is run both the  
program at the same time. i.e.  
link the third party software  
with my labview program.  
How to i do this?

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

Turn your labview coding into DLL.

http://zone.ni.com/devzone/cda/tut/p/id/3517

 

Then use your third party software to refer to the DLL.

0 Kudos
Message 2 of 7
(4,007 Views)

Your question is too vague since you give no information as to this third party application. Is it an application you wrote? Is it an application that you cannot change? Does it have a programming interface? Can you eliminate this third-party application and control the photon counter yourself? Have you tried to do a search, as this question has come up before many times. For example:

http://forums.ni.com/t5/LabVIEW/how-do-I-use-labview-to-control-other-programs/m-p/424765

http://forums.ni.com/t5/LabVIEW/How-to-operate-another-application-s-GUI-from-LV/m-p/668088

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

The third party software does not change my me. It is only for initialize the spectrometer and photon counter. And also it is a software coming with spectrometer by their manufacturer itself.

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

The third party software does not change my me. It is only for initialize the spectrometer and photon counter. And also it is a software coming with spectrometer by their manufacturer itself.

0 Kudos
Message 5 of 7
(3,977 Views)

If it has a GUI, use autoit to interact with it and call it from LabVIEW. Autoit has a lot of features to interface and automate GUI's without modifying them. It has a little bit of a learning curve, but it is very useful for this purpose. Plus its free.

0 Kudos
Message 6 of 7
(3,965 Views)

You can also use the operating system API. On Windows you can use SendKey. In terms of using SendKey, search the forum and you'll find examples. Such as this one. In terms of AutoIt, I have used this before. You can search the forum to find examples for this as well. Such as this one.

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