![]() |
ConfigureOvp()






Public Function |
Declared in: NiIviDcPwr.h |
Declaration
inline void ConfigureOvp( const CString &channelName, bool enabled, double limit);
Description
Configures the power supply's over-voltage protection. When the enabled parameter is false, the limit parameter is not used.
Parameters
const CString &channelName
bool enabled
double limit
The channel on which to configure the over-voltage protection.
Specifies whether the power supply provides over-voltage protection. If this property is set to true, the power supply disables the output when the output voltage is greater than or equal to the value of the OvpLimit property.
This function sets the OvpEnabled property to the value you specify for this parameter.
The maximum voltage the power supply allows when the OvpEnabled property is true.
This function sets the OvpLimit property to the value you specify for this parameter.