SickIcrTcpServerAddConnectBarcodeScan 方法 |
新增一个主动连接的请求,将不会收到是否连接成功的信息,当网络中断及奔溃之后,会自动重新连接。
A new active connection request will not receive a message whether the connection is successful. When the network is interrupted and crashed, it will automatically reconnect.
命名空间:
HslCommunication.Profinet.Sick
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法 public void AddConnectBarcodeScan(
string ipAddress,
int port
)
Public Sub AddConnectBarcodeScan (
ipAddress As String,
port As Integer
)
public:
void AddConnectBarcodeScan(
String^ ipAddress,
int port
)
member AddConnectBarcodeScan :
ipAddress : string *
port : int -> unit
参数
- ipAddress
- 类型:SystemString
对方的Ip地址 - port
- 类型:SystemInt32
端口号
参见