niRFSA Configure Number of Samples

NI RF Vector Signal Analyzers

niRFSA Configure Number of Samples

Configures the number of samples in a finite acquisition or configures the device to continuously acquire samples. If you configure the device for finite acquisition, it acquires the specified number of samples and stops the acquisition. You can configure the device to acquire multiple records using the niRFSA Configure Number of Records VI, each record containing the number of samples specified in this VI. The default number of records to acquire is 1.

If the device is configured to continuously acquire samples, it continues acquiring data until you call niRFSA Abort to abort the acquisition. The device stores data in onboard memory in a circular fashion. Once the device fills the memory, it starts overwriting previously acquired data from the beginning of the memory buffer. Retrieve the samples using the niRFSA Fetch IQ VI as they are being acquired to avoid data being overwritten before you can retrieve it.

niRFSA_Configure_Number_of_Samples.gif
cio.gif instrument handle identifies your instrument session. instrument handle is obtained from the niRFSA Initialize or the niRFSA Initialize With Options VIs and identifies a particular instrument session.
cbool.gif number of samples is finite specifies whether to configure the device to acquire a finite number of samples or to acquire samples continuously.
ci32.gif samples per record specifies the number of samples per record if number of samples is finite is set to TRUE.
ccclst.gif error in (no error) describes error conditions that occur before this VI runs.
cbool.gif status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.
ci32.gif code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
cstr.gif source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.
iio.gif instrument handle out passes a reference to your instrument session to the next VI. instrument handle is obtained from the niRFSA Initialize or the niRFSA Initialize With Options VIs and identifies a particular instrument session.
icclst.gif error out contains error information. If error in indicates that an error occurred before this VI ran, error out contains the same error information. Otherwise, it describes the error status that this VI produces.
ibool.gif status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
ii32.gif code the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
istr.gif source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.