ni4133_MeasurePulsedCurrentAndVoltage
- Updated2025-11-18
- 2 minute(s) read
Generates a series of pulses to the DUT and measures the forward current and voltage for each pulse.
Syntax
ni4133_Status NI4133_DECL ni4133_MeasurePulsedCurrentAndVoltage(ni4133_SessionHandle sessionHandle, double idleCurrentLevel, ni4133_PulseCurrentOutputRange pulseCurrentOutputRange, ni4133_MeasurementMode measurementMode, const PulseConfiguration pulseConfigurationList[], size_t numberOfPulseConfigurations, PulseMeasurementArray pulseMeasurementArray[], size_t pulseMeasurementArrayBufferSizeInBytes, size_t *requiredPulseMeasurementArrayBufferSizeInBytes)
Parameters
| Name | Direction | Type | Description | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sessionHandle | [in] | ni4133_SessionHandle | Specifies the session to measure. | |||||||||||||||||||||||||||
| idleCurrentLevel | [in] | double | Specifies the idle current level sourced between all pulses. | |||||||||||||||||||||||||||
| pulseCurrentOutputRange | [in] | ni4133_PulseCurrentOutputRange | Specifies the current output range of the pulse sequence. Defined Values:
| |||||||||||||||||||||||||||
| measurementMode | [in] | ni4133_MeasurementMode | Specifies how the measurement would be taken. Defined Values:
| |||||||||||||||||||||||||||
| pulseConfigurationList | [in] | const PulseConfiguration[] | An array that specifies the configuration of each pulse to generate. PulseConfiguration:
| |||||||||||||||||||||||||||
| numberOfPulseConfigurations | [in] | size_t | Specifies the number of pulse configurations to generate in for the pulseConfigurationList. | |||||||||||||||||||||||||||
| pulseMeasurementArray | [out] | PulseMeasurementArray[] | An array of PulseMeasurement structs where each struct contains an array of voltage and current measurements for each generated pulse. PulseMeasurementArray:
PulseMeasurement:
| |||||||||||||||||||||||||||
| pulseMeasurementArrayBufferSizeInBytes | [in] | size_t | Specifies the size of the pulse measurement array buffer in bytes. Set this field to 0 to query the expected buffer size for a given set of parameters. The actual required buffer size is returned by requiredPulseMeasurementArrayBufferSizeInBytes. | |||||||||||||||||||||||||||
| requiredPulseMeasurementArrayBufferSizeInBytes | [out] | size_t * | Specified the required pulse measurement array buffer size in bytes. |
Returns
Reports the status of this operation.
To obtain a text description of the status code, call ni4133_GetErrorDescription. The general meaning of the status code is as follows:
Value | Meaning |
|---|---|
Positive Values | Warnings |
Negative Values | Errors |