CNiIviDcPwrOutput::ConfigureOvp

Measurement Studio IVI

Class
CNiIviDcPwrOutput::
ConfigureOvp()
Base ClassesData ItemsFunctionsGo to hierarchy chart    Prev page: ConfigureOutputRangeNext page: MeasureCurrent    
Public Function Declared in:
NiIviDcPwr.h

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

inline void ConfigureOvp(
    const CString &channelName,
    bool enabled,
    double limit);

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

Configures the power supply's over-voltage protection. When the enabled parameter is false, the limit parameter is not used.

Shortcut to top of page. Parameters

const CString &channelName

The channel on which to configure the over-voltage protection.

bool enabled

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.

double limit

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.

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