FetchSpectrum(string, double, ref Spectrum< float >)
- Updated2025-04-08
- 1 minute(s) read
Fetches the spectrum used for ACP measurement.
Syntax
Namespace: NationalInstruments.RFmx.BTMX
public int FetchSpectrum(string selectorString, double timeout, ref Spectrum< float > spectrum)
Parameters
Name | Type | Description |
---|---|---|
selectorString | string | Specifies a selector string comprising of the result name. If you do not specify the result name, the default result instance is used. Example: |
timeout | double | Specifies the timeout for fetching the specified measurement. This value is expressed in seconds. Set this value to an appropriate time, longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete. |
spectrum | ref Spectrum< float > | Upon return, contains the ACP spectrum trace. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.