LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read variable from c++ application

I would like to do this but I don't know how it could be done: (the Labview will run parallel with c++ application and read the variable from the c++ application)
Thank you for your help.
0 Kudos
Message 1 of 3
(2,586 Views)
"XN" <x@no.email> wrote in message
news:1206038410575-675554@exchange.ni.com...
> I would like to do this but I don't know how it could be done: (the
Labview will run parallel with c++ application and read the variable from
the c++ application) Thank you for your help.

There are several ways. You'll have to describe your application more if you
want a recomendation about the prefered method. For instance, is it a
command line application? Do you have the source code? How much data is
there to transfer (bytes, kB, MB? per second). Do you want to poll this
value, or do you need to get a notification if the value is changed? Etc.

Some ways to do this:

Through the command line (using pipes in LabVIEW).
With a TCP/IP connection.
Memory mapped files.
File sharing.
Windows messaging system.

Regards,

Wiebe.


0 Kudos
Message 2 of 3
(2,574 Views)
XN,

Please take a looks at this related thread.

How do I, from a c++ program, read variables from a running LV application?
Mark
NI App Software R&D
0 Kudos
Message 3 of 3
(2,566 Views)