RFmxSpecAnMXMarkerResults.NextPeak Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Moves the marker to the next highest, next left, or next right peak above the threshold on the configured trace.
Namespace: NationalInstruments.RFmx.SpecAnMX
Assembly: NationalInstruments.RFmx.SpecAnMX.Fx40 (in NationalInstruments.RFmx.SpecAnMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int NextPeak( string selectorString, RFmxSpecAnMXMarkerNextPeak nextPeak, out bool nextPeakFound )
Public Function NextPeak ( selectorString As String, nextPeak As RFmxSpecAnMXMarkerNextPeak, <OutAttribute> ByRef nextPeakFound As Boolean ) As Integer
Parameters
- selectorString String
- Specifies the result name and marker number. Example: "marker0", "result::r1/marker0". You can use the BuildMarkerString2(String, Int32) method to build the selector string.
- nextPeak RFmxSpecAnMXMarkerNextPeak
- Specifies the next peak on the trace.
- nextPeakFound Boolean
- Upon return, indicates whether the next peak has been found on the trace.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes an error or warning condition.
Remarks
This method maps to the RFmxSpecAn_MarkerNextPeak() function in C.