09-12-2011 12:52 PM
Hello,
I do LV programming part time and currently use LV 7.0. Is there any way to expose variables to the outside world so that external applications can access those variables? If so, how is this done? Thanks.
09-12-2011 01:00 PM
hello,
maybe you could set-up TCP communication between the outter world and your LabVIEW application, that's the most convenient thing that comes to my mind. you wouldn't strictly speaking be accessing the variables though, can you give more details about what sort of communication you would need to implement?
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
09-12-2011 02:27 PM
Well, in another application, I have programmed a .NET app to open Excel. I then, programmatically, populate an Excel spread sheet and invoke print. I then close Excel. I'm thinking of something similar where I could expose a couple variables to other programs running on the same computer. Then, using my exe, another user might write some LV code that links up to the variables and reads them for their own purposes.
09-12-2011 02:34 PM
You can write directly to an Excel Spreadsheet.
Have a look at the Excel thread to learn how it is done.
09-12-2011 02:54 PM
LV 7.0 may have been able to do it.
Configure the ActiveX server in your build to expose everything and you may be able to use ActiveX calls jus the way you want.
If not you may have to upgrade to beable to use ActiveX calls.
Ben