Method WriteInt64Async
WriteInt64Async(int, long, CancellationToken)
Asynchronously writes a value to a 64-bit signed integer register with the specified address.
public Task WriteInt64Async(int address, long value, CancellationToken cancellationToken = default)
Parameters
addressintThe address of the register to write.
valuelongThe value to be stored in the register.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteInt64Async(int, long[], CancellationToken)
Asynchronously writes an array of values to a 64-bit signed integer register with the specified address.
public Task WriteInt64Async(int address, long[] values, CancellationToken cancellationToken = default)
Parameters
addressintThe address of the register to write.
valueslong[]The values to be stored in the register.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.