Variable.WriteValue(Boolean) Method

<< 点击显示目录 >>

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

Variable.WriteValue(Boolean) Method

BR.AN.PviServices .NET


Writes the value of this instance.

[Visual Basic]

Public Overloads Sub WriteValue( _

  ByVal synchronous As Boolean _

)

[C#]

public int WriteValue(

  bool synchronous

);

Parameters

synchronous

If true the method waits until the data has been transfered to the PLC. There will be no event indicating the success or failure of the execution. If set to false you will have to wait for the Event to get the state of execution.

Return Value

0 if successful else the error code. If synchronous is set to true and the method returns 0 this will indicate, that the data has been successfully transfered to the PLC.

See Also

Variable Class | BR.AN.PviServices Namespace | Variable.WriteValue Overload List | ValueWritten


Generated from assembly BR.AN.PviServices [8.1.0.4]