<< 点击显示目录 >> 主页 PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > Task Class > Task Methods > Connect Method > Task.Connect() Method |
Creates a connection to the task, which runs on the specified device (parent).
[Visual Basic]
Public Overrides Overloads Sub Connect()
[C#]
public override void Connect();
The "Connected" event notifies, that the connection was successfully created whereas the "Error" event notifies, that an error has occured. (e.g. task does not exist) It is also possible to connect the task-object, when its parent (cpu-object) was not already connected. In that case the task-object store this "connect"-action, to connect the task-object automatically when the cpu-connected-event received.
Task Class | BR.AN.PviServices Namespace | Task.Connect Overload List
Generated from assembly BR.AN.PviServices [8.1.0.4]