IAccessorRawValue.ReadArrayElementRawAsync Method
Reads the array element value as bytes asynchronously.
Namespace: TwinCAT.ValueAccess
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
Task<ResultReadRawAccess> ReadArrayElementRawAsync(
IArrayInstance arrayInstance,
int[] indices,
CancellationToken cancel
)Parameters
|
arrayInstance IArrayInstance |
The array instance. |
|
indices Int32[] |
The indices, which specify the element to read. |
|
cancel CancellationToken |
The cancellation token. |
Return Value
Task<ResultReadRawAccess>
A task that represents the asynchronous 'ReadArrayElementRaw' operation. The ResultReadRawAccess result contains the
(Value) and the ErrorCode after execution.
See Also
Reference
IAccessorRawValue Interface TwinCAT.ValueAccess Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026