NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalSourceDCVoltage.ConfigureCurrentLimit Method

  • Updated2023-11-24
  • 2 minute(s) read
DigitalSourceDCVoltage.ConfigureCurrentLimit Method

DigitalSourceDCVoltageConfigureCurrentLimit Method

Configures the current limit for the pin set when forcing voltage.

Namespace:  NationalInstruments.ModularInstruments.NIDigital
Assembly:  NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021

Syntax

public void ConfigureCurrentLimit(
	PpmuCurrentLimitBehavior behavior,
	double limit
)
Public Sub ConfigureCurrentLimit ( 
	behavior As PpmuCurrentLimitBehavior,
	limit As Double
)

Parameters

behavior
Type: NationalInstruments.ModularInstruments.NIDigitalPpmuCurrentLimitBehavior
Specifies how the output current behaves when the current limit is reached.
limit
Type: SystemDouble
Specifies the current limit, in amps, on the pins. The valid values for this parameter are defined by the CurrentLimitRange property.

Exceptions

ExceptionCondition
SelectorNameExceptionAn instance of DigitalPinSet references a pin or pin group name not loaded in the pin map.
OutOfRangeException
  1. The value for behavior is invalid.
  2. The value for limit is invalid.

Remarks

When forcing voltage by setting the PPMU OutputFunction to DCVoltage the current sourced or sunk is clamped to the specified current limit. Select the smallest current limit that meets the expected current requirements of the DUT.

If the current required by the DUT exceeds the selected CurrentLimitRange, the voltage output may not meet the specified voltage level. Choose a larger current limit range if needed.

Changing this property does not take affect until you call Source. You can call Source to commit your changes even if the PPMU is already sourcing.

Not all instruments support this capability. Use the IsCurrentLimitSupported property to programmatically determine whether an instrument supports this capability. If high-accuracy current clamping functionality is required, consider using a Source Measure Unit (SMU) instrument.

See Also

Log in to get a better experience