FetchAbsoluteMaskTrace(string, double, ref Spectrum< float >)
- Updated2025-10-13
- 1 minute(s) read
Fetches the absolute mask trace used for SEM measurement.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int FetchAbsoluteMaskTrace(string selectorString, double timeout, ref Spectrum< float > absoluteMask)
Remarks
This method maps to the RFmxSpecAn_SEMFetchAbsoluteMaskTrace() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the result name. Example: "", "result::r1". You can use the BuildResultString(string) method to build the selector string. |
| timeout | double | Specifies the timeout, in seconds, for fetching the specified measurement. 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. |
| absoluteMask | ref Spectrum< float > | Upon return, contains the absolute mask trace, in dBm or dBm/Hz, used for the channel. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.