ReadVal

<< Click to Display Table of Contents >>

Manual > Server Creation Guide > Interface > IPLink-Interface > IPLinkClient Library > IPLinkClient Library Reference > Method >

ReadVal


 

Reads the value of a tag.

 


syntax

AxIPLink1.ReadVal(

         TagPath,

         &Value,

         DataSource

         )

 


Parameters

 

TagPath

 

Type:

String

 

Tag path, e.g. U01.F01.T01

 

&Value

 

Type:

Object

 

The read value. Valid only when the return value is True.

 

DataSource

 

Type:

Numeric

 

0 – client cache value. 1 – server cache value. 2 – device value.

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 


 


reference