Sources reverse current to the DUT and measures breakdown voltage.

Syntax

ni4133_Status NI4133_DECL ni4133_MeasureReverseVoltage(ni4133_SessionHandle sessionHandle, double outputCurrentLevel, double measurementDelay, double measurementTime, double outputVoltageLimit, ni4133_MeasurementMode measurementMode, double *deltaTime, double reverseVoltageMeasurementBuffer[], size_t bufferSize, size_t *actualBufferSize)

Parameters

NameDirectionTypeDescription
sessionHandle[in]ni4133_SessionHandle

Specifies the session to measure.

outputCurrentLevel[in]double

Specifies the current level to source to the DUT.

measurementDelay[in]double

Specifies the delay, in seconds, between sourcing current and measuring voltage.

measurementTime[in]double

Specifies the time, in seconds, over which the reverse voltage is measured. Increase this time to improve measurement resolution.

outputVoltageLimit[in]double

Specifies the clamping voltage of the PXIe-4133. If the DUT breakdown voltage exceeds this value, the measured reverse voltage will be approximately equal to the outputVoltageLimit.

measurementMode[in]ni4133_MeasurementMode

Specifies how the measurement would be taken.

Defined Values:

Name

Value

Description

ni4133_MeasurementMode_Average

0 (0x0)

The acquired samples are averaged over the specified measurementTime and a single averaged measurement is returned.

ni4133_MeasurementMode_Waveform

1 (0x1)

The samples acquired over the specified measurementTime are returned.

deltaTime[out]double *

Returns the sampling period of the measurements.

reverseVoltageMeasurementBuffer[out]double[]

An array that contains the requested number of reverse voltage measurements.

bufferSize[in]size_t

Specifies the buffer size for voltage measurements.

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 actualBufferSize.

actualBufferSize[out]size_t *

Returns the actual buffer size for all valid voltage measurements. The buffer must be allocated at least to the size value specified.

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