LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Network Shared Variable: Aliasing not working

Hello!

 

I am running a cRIO 9075, which is publishing network shared variables.

I can see and modify them within Distributed System Manager.

 

Unfortunately I am not able to read/write the variables through labview.

What I have done so far:

 

  • Tools -> Shared Variable -> Register Computer, using the IP of the cRIO
  • Adding a Variable to the project. Type = Network-Published, Enable Aliasing, choosing "Browse" to select the variable (all published variables from cRIO are shown there), Access Type = read/write. The PSP-URL is: \\192.168.10.70\WaveformManager\Op

Trying to read the variable results code -1950679034 and the result is always the default value for that data type.

 

BUT this works: using the VIs Data Communication / Shared Variable / Read/Write Variable  and typing in the same URL the Distributed System Manager is showing is showing (in my case: \\192.168.10.70\WaveformManager\Op)

 

So, what am I doing wrong? Did I forget something or misunderstand how "Aliasing" works?

 

Thanks!

0 Kudos
Message 1 of 3
(2,995 Views)

hi,

 

in which way to you read your shared variable? If you read it before you write  a value "into" the variable it may couse this waring.

Have you tried this?

 

http://digital.ni.com/public.nsf/allkb/7DBC2C3E95AFD85C86257442005CF74C?OpenDocument

 

 

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

I'm having exactly the same problem.  Did you solve it?

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