06-04-2015 12:13 PM
Hello,
I have an application (LV2013) that uses shared variables on the network.
When I build the application and I install it on the PC where I have developped it, the variables are properly distributed and accessible over the network.
When I install this application on another PC (without Labview), the variable distribution service sends an error message and the variables are not running (pj err_Labview.png).
Do you have any idea on what I could forget to do?
Thank you.
06-04-2015 12:27 PM
Check you have installed LabVIEW Run Time Engine (it contains Shared Variables Engine SVE) in your other PC. Check the version you're using in your development PC in MAX. Hope it helps.
06-04-2015 12:31 PM
06-04-2015 02:01 PM
06-04-2015 02:22 PM
06-04-2015 05:57 PM
06-04-2015 11:24 PM
Bruno,
I would also make sure your NI Variable Engine service is started.
06-05-2015 12:42 AM
Thanks for your answers.
Effectively you have to install by yourself the runtime... All is working well now.
Other question : what is the difference between the absolute and relative reference mode for the shared variables ?
I'm also going to take a look using the server, do you have an example for me Mike ?
Bruno.
06-05-2015 07:49 AM
@bruno.bel wrote:
Other question : what is the difference between the absolute and relative reference mode for the shared variables ?
I found the following in our help documentation, which I only say becuase I forgot that this was an option
http://zone.ni.com/reference/en-XX/help/371361L-01/lvconcepts/sv_using_nodes/
An absolute Shared Variable node always connects to the shared variable on the target on which you created the shared variable. Shared Variable nodes are absolute by default. If a VI contains an absolute Shared Variable node and you open the VI on a new target, the VI breaks because the node attempts to connect to the shared variable on the target on which you created the shared variable. Use absolute Shared Variable nodes when you do not expect to move VIs and variables to other targets.
A target-relative Shared Variable node always connects to the shared variable on the target that runs the VI that containing the Shared Variable node. If you move a VI that contains a target-relative Shared Variable node to a new target, you also must move the shared variable to the new target because target-relative Shared Variable nodes can connect to shared variables on the local host only. Use target-relative Shared Variable nodes when you are accessing shared variables on the local host and you expect to move VIs and variables to other targets.
06-05-2015 10:50 AM