Variable.Connect() Method

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > Variable Class > Variable Methods > Connect Method >

Variable.Connect() Method

BR.AN.PviServices .NET


Creates a connection of this instance to its processvariable.

[Visual Basic]

Public Overrides Overloads Sub Connect()

[C#]

public override void Connect();

Remarks

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.

See Also

Variable Class | BR.AN.PviServices Namespace | Variable.Connect Overload List


Generated from assembly BR.AN.PviServices [8.1.0.4]