niDCPower_QueryMinCurrentLimit
ViStatus niDCPower_QueryMinCurrentLimit (ViSession vi, ViConstString channelName, ViReal64 voltageLevel, ViReal64 *minCurrentLimit);
Purpose
Queries the minimum current limit on an output channel if the output channel is set to the specified voltageLevel.
Parameters
Input | ||
Name | Type | Description |
vi | ViSession | Identifies a particular instrument session. vi is obtained from the niDCPower_init or niDCPower_InitWithOptions function. |
channelName | ViConstString | Specifies the output channel to query. The minimum current limit may only be queried for one channel at a time. |
voltageLevel | ViReal64 | Specifies the voltage level to use when calculating the minCurrentLimit. |
Output | ||
Name | Type | Description |
minCurrentLimit | ViReal64* | Returns the minimum current limit that can be set on an output channel with the specified voltageLevel. |
Return Value
Name | Type | Description |
Status | ViStatus | Reports the status of this operation. To obtain a text description of the status code, call the niDCPower_error_message function. To obtain additional information concerning the error condition, call the niDCPower_GetError function. |