IviDCPwr_QueryMaxCurrentLimit
IviDCPwrBase Capability Group
C Function Prototype
ViStatus IviDCPwr_QueryMaxCurrentLimit (ViSession vi, ViConstString channelName, ViReal64 voltageLevel, ViReal64* maxCurrentLimit);
Purpose
This function returns the maximum programmable current limit that the power supply accepts for a particular voltage level on a channel for the output range to which the power supply is currently configured.
Parameters
Inputs | Type | Description | ||
vi | ViSession | The instrument handle that you obtain from the IviDCPwr_init or IviDCPwr_InitWithOptions functions. The handle identifies a particular IVI session. | ||
channelName | ViConstString | Pass the virtual channel name that you assign to the instrument in MAX.
Virtual channel names are aliases for instrument specific channel strings. The instrument specific channel strings can differ from one instrument to another. Virtual channel names allow you to use and swap instruments without having to change the channel names in your source code. You assign a virtual channel name to an instrument specific channel through MAX. This control accepts virtual channel names you have assigned to the specific instrument you are using. It also accepts the instrument specific channel names.
|
||
voltageLevel | ViReal64 | Pass the voltage level for which to determine the maximum programmable current limit. The units are volts. | ||
Outputs | Type | Description | ||
maxCurrent Limit |
ViReal64 (passed by reference) |
Pass the current limit for which to determine the maximum programmable voltage level. The units are amperes. |