RFmxVNA_MarkerCfgReferenceMarker
- Updated2024-10-21
- 1 minute(s) read
RFmxVNA_MarkerCfgReferenceMarker
int32 __stdcall RFmxVNA_MarkerCfgReferenceMarker (niRFmxInstrHandle instrumentHandle, char selectorString[], int32 referenceMarker);
Purpose
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.
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. |
| referenceMarker | int32 | 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.
|
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:
|
||||||||