LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IP Format.

I'm really to new to LabView.
What do I select for IP address as a Input to "TCP Listen" or "TCP Open". I have been using "Num" but that is a constant number format, so where do I find "DOT-Format"?
0 Kudos
Message 1 of 4
(3,660 Views)
You should not wire the net address. You only need to do so if you have more than one IP address.

Use "String to IP" to convert a hostname or IP address to a network address, which is a simple U32 representation of the IP address, best displayed in HEX. (e.g. 255.255.255.255 = 0xFFFFFFFF).
Message 2 of 4
(3,660 Views)
The above answer was for TCP Listen. For TCP open, you just wire a string which can contain a hostname (e.g. www.ni.com or a dotted decimal IP address (e.g. 192.168.1.100).
0 Kudos
Message 3 of 4
(3,660 Views)
Sys_Eng wrote:

> I'm really to new to LabView.
> What do I select for IP address as a Input to "TCP Listen" or "TCP
> Open". I have been using "Num" but that is a constant number format,
> so where do I find "DOT-Format"?

You usually don't need to connect anything to the Net address of TCP
Listen unless you have more than one network interface in your computer.

As to the control needed, just use a string control and type in your dot
format string or your computer name.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 4 of 4
(3,660 Views)