niRFSA Configure Number of Samples VI
- Updated2025-10-14
- 3 minute(s) read
Configures the number of samples in a finite acquisition or configures the device to continuously acquire samples.
Supported Devices: PXIe-5644/5645/5646, PXI-5661, PXIe-5663/5663E/5665/5667/5668, PXIe-5820/5830/5831/5832/5840/5841/5842/5860
Related Topics

Inputs/Outputs
instrument handle
—
instrument handle identifies your instrument session. instrument handle is obtained from the niRFSA Initialize VI or the niRFSA Initialize With Options VI.
number of samples is finite
—
number of samples is finite specifies whether to configure the device to acquire a finite number of samples or to acquire samples continuously. The default value is TRUE.
samples per record
—
samples per record specifies the number of samples per record if number of samples is finite is set to TRUE.
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
instrument handle out
—
instrument handle out passes a reference to your instrument session to the next VI. instrument handle is obtained from the niRFSA Initialize VI or the niRFSA Initialize With Options VI and identifies a particular instrument session.
error out
—
error out contains error information. This output provides standard error out functionality. |
Details
If you configure the device for finite acquisition, it acquires the specified number of samples and then stops the acquisition. You can configure the device to acquire multiple records using the niRFSA Configure Number of Records VI. Each record contains the number of samples specified in this VI. The default number of records to acquire is 1.
If you configure the device to continuously acquire samples, it continues acquiring data until you call the niRFSA Abort VI to abort the acquisition. The device stores data in onboard memory in a circular fashion. After the device fills the memory, it starts overwriting previously acquired data from the beginning of the memory buffer. Retrieve the samples as they are being acquired using the niRFSA Fetch IQ VI to avoid overwriting data before you retrieve it.
instrument handle
—
number of samples is finite
—
samples per record
—
error in
—
instrument handle out
—
error out
—