LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

expose variables externally

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.

0 Kudos
Message 1 of 5
(2,520 Views)

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

Antoine Chalons

0 Kudos
Message 2 of 5
(2,514 Views)

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.

0 Kudos
Message 3 of 5
(2,507 Views)

You can write directly to an Excel Spreadsheet.

 

Have a look at the Excel thread to learn how it is done.

http://forums.ni.com/t5/BreakPoint/Excel-Board/td-p/379682

0 Kudos
Message 4 of 5
(2,505 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(2,498 Views)