DataTransferBlockSize
- Updated2025-10-14
- 1 minute(s) read
Gets or sets the maximum number of samples to transfer at a time from the device to host memory.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsa
public int DataTransferBlockSize { get; set; }
Remarks
Increasing the number of samples results in better fetching performance because the driver does not need to restart the transfers as often. However, increasing this number may increase the amount of page-locked memory required from the system.
Specifies an Int32 representing the maximum number of samples to transfer at a time from the device to host memory.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The DataTransferBlockSize property was accessed after the associated NIRfsa object was disposed. |