Sets the specified channel to STANDBY or ON at the shortest time possible.
GxPsSetStandbyImmediate (nHandle, nChannel, bStdby, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
GX7400 slot number. |
nChannel |
SHORT |
Specifies the Channel number:1 – Channel A2 – Channel B |
bStdby |
SHORT |
Operation to perform.0. The channel is in “ON ” mode.1. The channel is in “Standby” mode. |
pnStatus |
LPSHORT |
Returned status: 0 on success, negative number on failure. |
When setting the specified channel to ON, this function will apply the voltage and current limit settings at the shortest time possible.
When setting the specified channel to STANDBY, this function will set the voltage and currents limit to zero and disconnect the outputs at the shortest time possible.
NOTE: Supported by power supplies with Serial Numbers greater than 74000140 or older models that were upgraded to support that functionality.
In Standby mode board voltages and current limits can be set; however, the outputs are disconnected.
The following example sets channel A to standby mode.
SHORT nHandle, nStatus;
GxPsSetStandbyImmediate (nHandle, 1, GXPS_OUPUT_STANDBY, &nStatus);