07-14-2014 08:52 AM
What is the easiest way to, when a boolean is set to true, send the "true" to a second prgram in order to start data collection (this would normally be done by a mouse click)? Also, when the data collection is finished, the second program needs to send a "true" boolean back to the first program to start a timer. The fist program is my labview project and the second is a third party software.
Any help is welcome.
Thanks,
Matt
07-14-2014 09:20 AM
That would depend entirely on the third part software. What interfaces do they allow? ActiveX? TCP?
07-14-2014 09:29 AM
I don't know the inner workings of the software but I can tell you that it allows remote connection over a network and supports OPC, ModBus, and CanOpen.
07-14-2014 10:06 AM
How would you recommend that I do this if the second software was written in labview instead?
07-14-2014 10:44 AM
07-14-2014 10:56 AM - edited 07-14-2014 10:57 AM
If I understand you correctly, the problem is that you did not write the second software but would like to start it using LabVIEW. Here is one thing you can try:
It will be very basic and you won't have a lot of control over it, but it should (at least) get the data collection started.
For a more complex approach, you will likely need to contact the manufacturer of the software for more info about trying to communicate with it remotely.
07-15-2014 01:07 AM
@MattEntner wrote:
How would you recommend that I do this if the second software was written in labview instead?
If the other program is written in LV you would have several options including standards like TCP/IP. However, to pick a technique I would have to know how the other program was written.
For example, you could use VI server to programatically press a button on the other program front panel. Of it the other program is event-driven, VI server could remotely fire an event to do something.
Mike...