RFmxVNA_MarkerCfgDataSource
- Updated2025-04-08
- 1 minute(s) read
Configures the data source on which marker operations are performed. Use "marker<n>" as the selector string to configure this function.
Syntax
int32 __stdcall RFmxVNA_MarkerCfgDataSource(niRFmxInstrHandle instrumentHandle, char selectorString[], char dataSource[])
Parameters
Name | Direction | Type | Description |
---|---|---|---|
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. |
dataSource | [in] | char | This parameter specifies the measurement or memory data on which markers are placed. If you want to place markers on SParams measurement data, then specify this parameter as "sparam<n>". If you want to place markers on SParams measurement memory data, then specify this parameter as "sparam<n>/measmem::<<i>measMemoryName</i>>". Similarly, if you want to place markers on Wave measurement data, then specify this parameter as "wave<n>". |
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 |