Writer.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 Writer 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 Writer.

InOut:

Scope

Name

Type

Return

SetInitialValue

ERROR

Input

uiDataSetWriterId

UINT

itfWriterDiagnostics

IWriterDiagnostics