Fetches the X and Y locations of the marker.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int FetchXY(string selectorString, out double markerXLocation, out double markerYLocation)

Remarks

This method maps to the RFmxSpecAn_MarkerFetchXY() function in C.

Parameters

NameTypeDescription
selectorStringstring

Specifies the result name and marker number. Example: "marker0", "result::r1/marker0". You can use the BuildMarkerString2(string, int) method to build the selector string.

markerXLocationout double

Upon return, contains the marker X location.

markerYLocationout double

Upon return, contains the marker Y location.

Returns

Returns the status code of this method. The status code either indicates success or describes an error or warning condition.