niScope_CalAdjustFrequencyResponse
- Updated2023-02-21
- 1 minute(s) read
C Function Prototype
ViStatus _VI_FUNC niScope_CalAdjustFrequencyResponse ( ViSession sessionHandle, ViConstString channelName, ViReal64 range, ViReal64 stimulusFreq, ViReal64 stimulusAmp );
Purpose
For the NI 5622, calibrates the frequency response of the device. The function is called multiple times, one for each frequency point in the sweep. The user must supply the stimulus frequency (in hertz) and stimulus amplitude (in volts) of the input signal.
Parameters
| Input | ||
| Name | Type | Description |
| sessionHandle | ViSession | The session handle returned by niScope_CalStart. |
| channelName | ViConstString | The string name of the channel to calibrate. For more information, refer to Channel String Syntax. |
| range | ViReal64 | The voltage range to calibrate. |
| stimulusFreq | ViReal64 | The frequency of the external stimulus applied to the digitizer. |
| stimulus | ViReal64 | The peak voltage of the signal applied to the digitizer. |
Return Value
| Name | Type | Description | ||||||||
| Status | ViStatus | Reports the status of this operation. To obtain a text description of the status code,
call
niScope_GetErrorMessage.
To obtain additional information concerning the error
condition, use niScope_GetError
and
niScope_ClearError.
The general meaning of the status code is as follows:
|