IviDCPwr_QueryMaxVoltageLevel

CVI/LabWindows IVI Class Driver

IviDCPwr_QueryMaxVoltageLevel

IviDCPwrBase Capability Group

C Function Prototype

ViStatus IviDCPwr_QueryMaxVoltageLevel (ViSession vi, ViConstString channelName, ViReal64 currentLimit, ViReal64* maxvoltageLevel);

Purpose

This function returns the maximum programmable voltage level that the power supply accepts for a particular current limit on a channel for the output range to which the power supply is currently configured.

Parameters

Inputs Type Description
currentLimit ViReal64 Pass the current limit for which to determine the maximum programmable voltage level. The units are amperes.
     
Outputs Type Description
MaxVoltage
Level
ViReal64
(passed by reference)
Pass the voltage level for which to determine the maximum programmable current limit. The units are volts.

Return Values