niVNA_ConfigureSweep
- Updated2023-02-21
- 1 minute(s) read
niVNA_ConfigureSweep
niVNA_ConfigureSweep(ViSession instrumentHandle, ViConstString channel, ViInt32 numberOfPoints, ViInt32 sweepMode);
Purpose
Configures the number of points for the sweep measurement and the sweep mode.
Supported Devices: NI 5630/5632
Parameters
Input | ||||||
Name | Type | Description | ||||
instrumentHandle | ViSession | Identifies your instrument handle. | ||||
channel | ViConstString | Specifies the channel for which this operation is targeted. | ||||
numberOfPoints | ViInt32 | Specifies the number of points to acquire as part of the sweep measurement.
Valid Ranges:
Default Value: 201 |
||||
sweepMode | ViInt32 | Specifies the mode for the sweep measurement. For the NI 5630, NIVNA_VAL_SWEEP_FREQUENCY is the only supported value.
|
Return Value
Name | Type | Description | ||||||||
returnValue | ViStatus | 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 NI-VNA 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 niVNA_GetError function. To clear the error information from NI-VNA, call the niVNA_ClearError function. The general meaning of the status code is as follows:
|
||||||||