Configures an associated reference marker for a delta marker. Markers with Marker Type attribute set to Delta must be associated with a reference marker. You cannot associate a reference marker for other markers whose Marker Type is not Delta.
Use "marker<n>" as the selector string to configure this function.

Syntax

int32 __stdcall RFmxVNA_MarkerCfgReferenceMarker(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 referenceMarker)

Parameters

NameDirectionTypeDescription
instrumentHandle[in]niRFmxInstrHandle

This parameter specifies the RFmx session refnum. This parameter is obtained from the RFmxInstr_Initialize function.

selectorString[in]char

Specifies a selector string. Pass an empty string.

referenceMarker[in]int32

This parameter specifies the marker index to be used as reference for the specified delta marker. All types of markers including Normal, Delta and Fixed can be used as a reference marker.

Returns

Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an RFmx function to determine if an error has occurred.

To obtain a text description of the status code and additional information about the error condition, call the RFmxVNA_GetError function.

The general meaning of the status code is as follows:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors