![]() |
ConfigureCurrentLimit()






Public Function |
Declared in: NiIviDcPwr.h |
Declaration
inline void ConfigureCurrentLimit( const CString& channelName, long behavior, double limit);
Description
Configures properties that affect the power supply's current limit.
Parameters
const CString& channelName
long behavior
double limit
The channel on which to configure the current limit.
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.
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.