LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Network Aliases to resolve NSV's on multiple PC targets

There does not seem to be any way to use aliases to resolve NSV tags that may belong to a set of 2 or more PC's.  The alias file seems to only work

within a single project and unfortunately a project cannot have more than one PC.  To achieve this functionality it seems that I will have to use my own alias.ini file

and my own tag constructs.  Is there not a better way?  

0 Kudos
Message 1 of 4
(2,941 Views)

Hi Sachsm,

 

A NSV doesn't blong to a project it belongs to a library. So when you configure the aliasing for the shared variable, you can bind to PSP url and select any library from any computer on the network. If the computer isn't on the network then you can specify the ip address of the computer.

 

Regards,

National Instruments
RIO Embedded Hardware PSE

CompactRIO Developers Guide
0 Kudos
Message 2 of 4
(2,912 Views)

I think I was not clear in my question...

I was refering to the alias.ini file that is created when you save a project.  It is used

to resolve NSV URL address that contain alias names instead of IP addresses.

Anything named \\My Computer\... gets resolved to \\localhost\...

What I was thinking would be nice is if you could have more that one PC Target

in your project that could have its own alias name.  I did find out that you can

add a Networked PC to a project to achieve this.  However, a Networked PC in

a project cannot contain any vi's or libraries, so I am not really sure why it was

offered as an option.

0 Kudos
Message 3 of 4
(2,906 Views)
Adding Networked targets to the project is for use with the FPGA module and was not meant to add a networked pc to your project. Currently there is no way to add a second pc to a project.
National Instruments
RIO Embedded Hardware PSE

CompactRIO Developers Guide
0 Kudos
Message 4 of 4
(2,896 Views)