SetVal

<< Click to Display Table of Contents >>

Manual > Reference > Methods >

SetVal


 

Sets a value in the cache.

 

 


syntax

        AxEng1.SetVal(

                         TagPath,

                         Value

                         )


Parameters

TagPath

 

type:

string

 

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

Value

 

type:

object

 

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

 

Return Value

Value

 

type:

object

 

The value to write.

 


Commentary

Sets a value in the cache. This is mainly used to set a value in the cache before writing it with WriteRefresh. In this case, the StartUpdate method cannot be called.

 

 

 

 

 


reference

 

StartUpdate

StopUpdate

WriteRefresh