LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hello, i am using shared variable in my code.i am getting two types of errors which i cant understand.i am attaching the error messafe here.thanks in advance

Right-clicking the library where this variable is located in your project and selecting deploy. If that doesn't work I would check distributed systems manager to see if you can see the library and variable in that application. If you can see the items there then you need to make sure the url matches the one that you are using.

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 9
(4,258 Views)

Unless you intentionally kept the name "Untitled Library 1" and Variable1 it appears that you did not save the shared variable library to disk.  You cannot deploy it until it has been saved to a file.

Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.0, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 3 of 9
(4,239 Views)

Sagar,

 

Make sure all the services related to the NI is running in your PC. Open the Services window and check. Sometimes, the service crashes and stick to the Stop Mode.

-John Theodore
Certified LabVIEW Architect, Certified TestStand Architect
0 Kudos
Message 4 of 9
(4,223 Views)

@John1981 wrote:

Sagar,

 

Make sure all the services related to the NI is running in your PC. Open the Services window and check. Sometimes, the service crashes and stick to the Stop Mode.


I wouldn't say all services need to be running. There are a handful that are not running on my computer and I can read shared variables. I would probably just make sure that the NI Variable Engine is running. As long as that service is running, you should be able to read a shared variable.

Matt J | National Instruments | CLA
0 Kudos
Message 5 of 9
(4,217 Views)

hello, how can check the services and which services have to check?(specify the name)?i am attaching NI distributed system manager window snapshot.

0 Kudos
Message 6 of 9
(4,196 Views)

my shared variable vi is running in my laptop. i want to show or monitor the shared variable value in my android phone using data dashboard 3.8.i cant connect  my mobile phone to shared variable?i am attaching the connection error screenshot.to connect the laptop(shared variable host) with mobile phone is it necessary to on hotspot of laptop to make it web server?

0 Kudos
Message 7 of 9
(4,169 Views)

Sagar,

 

See the attachements in this post.

 

NI Services.png - Check the highlighted service status. It should run to read/write variables (The UI can be found under Computer Management in Windows)

NI DSM.png -

Action 1 _ Register the Computer as Localhost

Action 2_ Start the Local Shared Variable Engine

 

 

I have not used Andriod Dashboard yet.

 

-John

CLA, CTD

-John Theodore
Certified LabVIEW Architect, Certified TestStand Architect
Download All
Message 8 of 9
(4,150 Views)

thank you john.by applying this setting now my first two errors solved.thanks

0 Kudos
Message 9 of 9
(4,141 Views)