IAccessorValueFactory.CreateValue Method

Creates the symbols value from raw memory data.

Namespace:  TwinCAT.ValueAccess
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

Object CreateValue(
    ISymbol symbol,
    Memory<byte> sourceData,
    IValue? parent,
    DateTimeOffset timeStamp
)

Parameters

symbol

Type: TwinCAT.TypeSystem.ISymbol
The symbol.

sourceData

Type: System.Memory.Byte.
The data.

parent

Type: TwinCAT.TypeSystem.IValue
The parent value

timeStamp

Type: System.DateTimeOffset
The time stamp.

Return Value

Type: Object
System.Object.

Remarks

The parent argument is used to organize values in hierarchies, equally to the corresponding symbol/instance trees.

Reference

IAccessorValueFactory Interface

TwinCAT.ValueAccess Namespace