| Instrument Control Toolbox | ![]() |
Specify the remote host port for the connection
Description
You can configure RemotePort to be any port number between 1 and 65535. The default value is 80 for TCP/IP objects and 9090 for UDP objects.
For TCP/IP objects, you can configure RemotePort 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 RemotePort at any time.
Characteristics
| Usage |
TCP/IP, UDP |
| Read only |
While open (TCP/IP), Never (UDP) |
| Data type |
Double |
Values
Any port number between 1 and 65535. The default value is 80 for TCP/IP objects and 9090 for UDP objects.
Functions
Properties
| RemoteHost | RequestToSend | ![]() |