LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open Application Valid Ports

I have a computer with an several versions of LabVIEW installed (right now 2011 and 2012), I would like to know programatically what TCP/IP port settings each have setup.  I want this so that I can connect to each of them using the Open Applicaiton Reference on localhost.

 

The first version of LabVIEW installed will default to 3363, and it looks like the next will be 3364, but I would like to know what port settings are available to connect to versions of LabVIEW.  

 

In the past I thought this information was stored in the LabVIEW.ini file but looking into them I don't see those settings.  I've also searched the registry but didn't find where it is stored.  I also checked the NI Service Locator/Web thing here.  But that doesn't seem to list more than one version of LabVIEW at a time.  

 

I know VIPM does this automatically so I know it is possible, I just don't know how.  Thanks.

0 Kudos
Message 1 of 3
(2,336 Views)

It's in the INI file under server.tcp.port. If it's not there it's probably because you haven't changed it from the default value (3363). My recollection is that in order for VIPM to see multiple versions, you have to manually assign them different ports, and they provide directions to do so.

0 Kudos
Message 2 of 3
(2,324 Views)

Okay so you are partially correct.  I installed 2011, then VIPM, then installed 2012 but never needed to change the port settings and VIPM can connect to both.  I looked at the 2011 ini file and there was nothing (defaulted to 3363), I looked at the 2012 and it has a section in the ini for 3364.  So this either means LabVIEW during the install is incrementing the ports to make them unique or VIPM noticed they both had the same default ports and changed one.  I'm guessing this is VIPMs doing.  In either case, thanks.

0 Kudos
Message 3 of 3
(2,320 Views)