Instrument Control Toolbox    
RemoteHost

Specify the remote host

Description

RemoteHost specifies the remote host name or IP dotted decimal address. An example dotted decimal address is 144.212.100.10.

For TCP/IP objects, you can configure RemoteHost only when the object is disconnected from the hardware. You disconnect a connected object with the fclose function. A disconnected object has a Status property value of closed.

For UDP objects, you can configure RemoteHost at any time. If the object is open, a warning is issued if the remote address is invalid.

Characteristics

Usage
TCP/IP, UDP
Read only
While open (TCP/IP), Never (UDP)
Data type
String

Values

The value is defined when you create the TCP/IP or UDP object.

See Also

Functions

fclose, fopen, tcpip, udp

Properties

LocalHost, RemotePort, Status


  RecordStatus RemotePort