Variable.ReadValue(Boolean) Method

<< 点击显示目录 >>

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

Variable.ReadValue(Boolean) Method

BR.AN.PviServices .NET


Call this member to read the value of this instance. If synchronous == TRUE the method will not return until the value is read.

[Visual Basic]

Public Overloads Sub ReadValue( _

  ByVal synchronous As Boolean _

)

[C#]

public int ReadValue(

  bool synchronous

);

Parameters

synchronous

If set to TRUE will cause the method to wait for the result. The Value property is updated when the function returns. If set to false, the method will simply initiate a read request. The result will be reported in the Event ValueRead.

Return Value

0 if the read was successful else an error code.

See Also

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


Generated from assembly BR.AN.PviServices [8.1.0.4]