ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Network Published Variable help

Solved!
Go to solution

I am writing a program to be a "LabView wrapper" for iperf 

 

I need to run iperf server and iperf client on two different machines.

 

Machine A: Launch iperf server and write ture to a shared variable

 

Machine B: Read shared variable and launch iperf client if machine A is running iperf server

 

I have never used a shared variable before, I have looked at the examples but as usual they work but are lacking and explanation as to why or how.

 

I have managed to get as far as creating a shard variable as a network published type Boolean Putting a shared variable on my block diagram I can select the server variable from my project just fine but the shared variable is read only? 

 

How do I write to a shared variable? 

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 1 of 3
(2,937 Views)
Solution
Accepted by topic author RTSLVU

Right click and change the access mode to write

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

I knew it was somthing simple I was overlooking

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 3
(2,924 Views)