IValueRawSymbol.WriteRawValueAsync Method

Writes the raw value of the IValueSymbol (Ads Read / Write)

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

Syntax

C#

Task<ResultWriteAccess> WriteRawValueAsync(
    byte[] rawValue,
    CancellationToken cancel
)

Parameters

rawValue

Type: .System.Byte.
The value as byte array.

cancel

Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task.ResultWriteAccess.
A task that represents the asynchronous read operation. The ResultRead parameter contains the total number of bytes read into the buffer (ReadBytes) and the ErrorCode after execution..

Reference

IValueRawSymbol Interface

TwinCAT.TypeSystem Namespace