LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Vaiable Manager Operation

Hi All,
Can somebody please advise me about the operation of the Shared Varaible Manager.

I have a project  that includes my development pc, a remote pc and several pxi controllers running Labview RT.
I have deployed shared variables on all targets.

In Variable Manager, I can see the deveopment pc (localhost) and the pxi targets but the remote pc doesn't show up. So I can't 'watch' the variables on the remote pc. Should I be able to see the remote PC in Variable Manager?

The remote PC is running an executable vi only with the labview runtime engine installed. The shared variables on the remote pc are deployed by the exe program.

kind regards
Frank Greenslade
New Zealand
0 Kudos
Message 1 of 4
(2,766 Views)
Hi Frank,
 
            Have you tried creating a new shared variable in the Variable Manager and then binding it to the variable on the remote PC?  You can do  this by creating a new process under Local System and then creating a new variable under that.  When you select bind to source, you should be able to locate the remote PC and the variables deployed on it.  Let me know if this works.
 
Regards,
Jim M
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,731 Views)
Hi Jim,
Thanks for your reply.

Yes , I have tried as you suggested and that does work.  When I browse for network variables to bind, I can see the remote computer and the variables deployed on it. I can then watch the new bound variable.

However, this seems to be a round about way of doing something that should be simple and could be a potential source of error.

It seems logical to me that I should be able to add the remote computer as a 'system' in the Variable Manager tree. Then I could deploy and undeploy the variables as happens with other systems in the tree (Local and RT).

Is there a way of adding the remote computer as a system in the tree?

Thanks for your help.
And sorry about the spelling earlier.
cheers
Frank

0 Kudos
Message 3 of 4
(2,717 Views)

Hi Frank,

        Unfortunately the only way to access variables on another computer in the way you suggest is to view them through an opc server.  You can use this functionality with LabVIEW DSC.  You may use this to view variables on another computer, but you will not be able to deploy or undeploy them.  If you have not purchased this product, then you will be required to access variables in the way I recommended above.  Good luck!

Regards,
Jim M
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,705 Views)