GetMeasuredSamplesCount(string, out int)
- Updated2025-10-13
- 1 minute(s) read
Gets the total number of samples measured. The total number of samples includes only the samples above the threshold, when you set the SetThresholdEnabled(string, RFmxSpecAnMXCcdfThresholdEnabled) method to True.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int GetMeasuredSamplesCount(string selectorString, out int value)
Remarks
This method maps to the RFmxSpecAn_CCDFGetResultsMeasuredSampleCount() 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. |
| value | out int | Upon return, contains the total number of samples measured. The total number of samples includes only the samples above the threshold, when you set the SetThresholdEnabled(string, RFmxSpecAnMXCcdfThresholdEnabled) method to True. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.