LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

datasocket change ip address to computer name

Hi,
 
When I write data on the network, the IP address appears inplace of the computer name.  I would like to have it where the computer names appears instead of the IP address.  When the URL is dstp://computername/channelname . But on the data server the IP address appears and no computer name.
 
Any suggestions....
 
--claudia
0 Kudos
Message 1 of 4
(3,202 Views)
I'm not sure where you are seeing this, but if this is in your code then you can translate the IP address to the name by wiring the address into String to IP and wiring the result into IP to String (both can be found in the TCP palette). You should then get the computer name.

___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(3,188 Views)
Attached is an example of what I'd like to see on the Datasocket Diagonistic.  The funny part is that I am using the computer name for the URL of the datasocket read & write.
 
0 Kudos
Message 3 of 4
(3,177 Views)
You probably can't. The DS server is a seperate program and it doesn't seem like it has an option for this. As I said, you can write a simple program in LV to run at the same time and translate it or even do it through Windows, although I don't think you can get the addresses automatically.

___________________
Try to take over the world!
0 Kudos
Message 4 of 4
(3,165 Views)