CNiIviDcPwrOutput::ConfigureCurrentLimit

Measurement Studio IVI

Class
CNiIviDcPwrOutput::
ConfigureCurrentLimit()
Base ClassesData ItemsFunctionsGo to hierarchy chart    Prev page: VoltageLevelNext page: ConfigureOutputRange    
Public Function Declared in:
NiIviDcPwr.h

'Declaration' icon -- Shortcut to top of page. Declaration

inline void ConfigureCurrentLimit(
    const CString& channelName,
    long behavior,
    double limit);

'Description' icon -- Shortcut to top of page. Description

Configures properties that affect the power supply's current limit.

Shortcut to top of page. Parameters

const CString& channelName

The channel on which to configure the current limit.

long behavior

The behavior of the power supply when the output current is equal to or greater than the value of the CurrentLimit property.

The following list includes valid values:

  • CNiIviDcPwr::RegulateCurrent - When the output current reaches the value of the CurrentLimit property, regulate the output current at that value.
  • CNiIviDcPwr::TripCurrent - When the output current reaches the value of the CurrentLimit property, disable the output.

This function sets the CurrentLimitBehavior property to the value you specify for this parameter.

double limit

The output current limit in Amperes. The power supply's behavior at this limit is determined by the CurrentLimitBehavior property.

This function sets the CurrentLimit property to the value you specify for this parameter.

'See Also' icon -- Shortcut to top of page. See Also