RFmx VNA C

RFmxVNA_MarkerCfgX

  • Updated2024-10-21
  • 1 minute(s) read

RFmxVNA_MarkerCfgX

int32 __stdcall RFmxVNA_MarkerCfgX (niRFmxInstrHandle instrumentHandle, char selectorString[], float64 markerX);

Purpose

Configures the X value of the marker. You must configure the X value of reference marker or perform any marker search operation on the reference marker before configuring the X value for the delta marker.
Use "marker<n>" as the selector string to configure this function.

Parameters

Input
Name Type Description
instrumentHandle niRFmxInstrHandle Specifies the RFmx session refnum. is obtained from the RFmxInstr_InitializeNIRFSA function.
selectorString char[] Specifies a selector string comprising of the signal name and marker number. If you do not specify the signal name, the default signal instance is used.
Example:
"marker0"
"signal::sig1/marker0"
You can use the RFmxVNA_Build_Marker_String_ function to build the selector string.
markerX float64 Specifies the X value of the marker on the trace when you set the Marker Type to normal or fixed. The X value of the delta marker is relative to the X value of the reference marker when you set the Marker Type to delta.

Return Value

Name Type Description
status int32 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

Log in to get a better experience