IAccessorRawValue.TryWriteArrayElementRaw Method
Writes an array element value from raw memory asynchronously to the ADS Device.
Namespace: TwinCAT.ValueAccess
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
int TryWriteArrayElementRaw(
IArrayInstance arrayInstance,
int[] indices,
ReadOnlyMemory<byte> writeBuffer,
out DateTimeOffset? timeStamp
)Parameters
|
arrayInstance IArrayInstance |
The array instance. |
|
indices Int32[] |
The indices of the array element. |
|
writeBuffer ReadOnlyMemory<Byte> |
The write buffer containing the data to write. |
|
timeStamp Nullable<DateTimeOffset> |
Write time / timestamp |
Return Value
Int32
Error code. 0 represents succeed.
See Also
Reference
IAccessorRawValue Interface TwinCAT.ValueAccess Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026