04-10-2014 09:20 AM
Hello all,
I'm using LV 2012 SP1. I'd like to get information from the NI service locator about the current named TCP services and the ports they are using.
The LV documentation says "After you register a service with the NI Service Locator, you can use the Open Application Reference function, the TCP Open Connection function, and the UDP Write function to query the NI Service Locator for the port number associated with a service name you specify."
I can't see how to do that. Can anybody help please?
Thanks!
04-10-2014 10:20 AM
One thing you can check is the following example:
It may help explain how to use the NI Service Locator a bit better. Unfortunately I cannot help you test this due to my LabVIEw version. Hope this helps 🙂
04-10-2014 10:31 AM - edited 04-10-2014 10:37 AM
Thank you!
I have looked through that example, but it doesn't contain any information I can see for querying the service locator for information on all running named TCP services. It has pretty standard stuff about creating a named TCP server and client.
Maybe I'm missing something?
04-28-2014 06:18 AM
Hi,
The easiest way to get a list of services that are currently registered with the NI Service Locator is by using your web browser. You can type in http://localhost:3580/dumpInfo? into your web browser to get a ful list of registered services.
Hope this helps.
Thanks and Regards,