WriteFeedbackMode

<< Click to Display Table of Contents >>

 

WriteFeedbackMode

Enum This property allows controlling feedback from Tag writings. The configuration options of this property are described on the next table.

Available options for the WriteFeedbackMode property

Option

Description

0 - wfWaitNextRead

After writing, waits normally for the next reading, which is the default for applications created before the implementation of this property

1 - wfImmediateReadAfterWrite

Forces an asynchronous reading from a device right after each writing, which is the default for applications created after the implementation of this property

2 - wfTrustWriteSuccess

The written value is assumed by the Tag immediately, if the writing succeeds

 

NOTES

OPC Driver's WriteFeedbackMode property cannot be changed while this object is active.

In the option 2 - wfTrustWriteSuccess, for asynchronous writings, the value is assumed in the Tag right after scheduling that writing, if the operation succeeds. However, if that writing fails later, the value in the Tag may be incorrect. For synchronous writings, this value is assumed right after that writing finishes, if it succeeds.

Please check I/O Driver's WriteFeedbackMode property, whose behavior is similar.

Was this page useful?