LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

new networked shared variables in my computer view but not in shared variable engine list

Solved!
Go to solution

I have a Shared Variables.lvlib on a cRIO target, and want to test some algorithms when I don't have access to the cRIO hardware. Figured I could make a new project, add the same library to the windows target (My Computer). I needed to add a few extra variables, which I did in the original project (i.e. while the library was under the realtime target). Then create a new project and added the lvlib to the project (under My Computer), then wrote a VI to write to these SVs. When I drop a Shared Variable Refnum constant on the block diagram and browse to the Variable Objects, under "Variable Engines" > ni.var.psp > localhost > Shared Variables  the list of variables shows everything except the 6 new variables. When I switch the view to "Current Project" I get the same list WITH THE 6 new variables. However if I select the variables from this list and run the VI I get an error -1950679035 unable to locate the variable in the Shared Variable Engine. Obviously I overlooked something, anyone out there set me straight?

 

   Thanks for your time   -   lmd2

Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 1 of 3
(2,460 Views)
Solution
Accepted by topic author lmd2

Hello Lawrence,

 

It sounds like you may just need to deploy the new variables- refer to this document:

 

LabVIEW Help: Making Shared Variables Available on a Network

http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/sv_deploying/

 

Hope that helps!

Tom L.
Message 2 of 3
(2,457 Views)

Thanks Tom (or Outlaw, if you prefer)

figured it was something simple I was overlooking.

Thanks for the quick solution.

 - lmd2

Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 3 of 3
(2,443 Views)