From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Shared Variable Engine Usage Example

Solved!
Go to solution

Hi guys,

 

we're using NI Shared Variable Engine and trying to use this with java. As we understand, NI Shared Variables are available on the network.  So is it possible to communicate with this these using Sockets. Is there a protocol I 've to use? Does anyone of you have got an example on how to write a String to shared variable?

 

Hope this is the right forum.

 

Thanks in advance.

 

Greetings

 

tuney

0 Kudos
Message 1 of 3
(2,925 Views)
Solution
Accepted by topic author tuney

According to this link: http://www.ni.com/white-paper/4679/en/

 

"In addition, with the Network Variable Library introducted in NI LabWindows/CVI 8.1 and NI Measurement Studio 8.1, you can read and write to shared variables in ANSI C, Visual Basic .NET or Visual C#."

 

There is also more information available at the following links:

http://www.ni.com/white-paper/5484/en/

http://stackoverflow.com/a/4597966


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 3
(2,915 Views)

Hi Sam_Sharp,

 

thx for your reply. U helped me a lot.

 

Greetings

0 Kudos
Message 3 of 3
(2,869 Views)