ConfigureAcquisition(string, double, int, double, double)
- Updated2025-10-13
- 1 minute(s) read
Configures the acquisition settings for the I/Q measurement.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureAcquisition(string selectorString, double sampleRate, int numberOfRecords, double acquisitionTime, double pretriggerTime)
Remarks
This method maps to the RFmxSpecAn_IQCfgAcquisition() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| sampleRate | double | Specifies the acquisition sample rate, in samples per second (S/s). |
| numberOfRecords | int | Specifies the number of records to acquire. |
| acquisitionTime | double | Specifies the acquisition time, in seconds, for the I/Q measurement. |
| pretriggerTime | double | Specifies the pretrigger time, in seconds, for the I/Q measurement. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.