Reader.SetInitialValue (METH)

METHOD FINAL SetInitialValue : ERROR

SetInititalValue is a helper method in cases a static initialization in the context of a declaration can not working properly due the initialization sequences of the compiler.
As soon as the FB Reader is embedded when designing own function blocks and parameters from the embedded FB’s VAR_INPUT CONSTANT area are to be provided with initial values, it is time to consider the using of SetInitialValue.

For a description of the individual parameters, please refer to the VAR_INPUT CONSTANT section of Reader.

InOut:

Scope

Name

Type

Return

SetInitialValue

ERROR

Input

uiPublisherId

UINT

uiWriterGroupId

UINT

uiDataSetWriterId

UINT

itfReaderDiagnostics

IReaderDiagnostics