PIPLX_PsuEnable

unsigned long PIPLX_PsuEnable (long session, unsigned long cardNumber, unsigned long outputSubunit, int state);

Purpose

Enables or disables a power supply's output.
This function is usable only with sub-units having the capability PSU_CAP_OUTPUT_CONTROL - see PIPLX_PsuInfo.

Parameters

Input
Name Type Description
session long

Handle of current session.

cardNumber unsigned long

Card number.

outputSubunit unsigned long

Subunit number.

state int

1 to enable, 0 to disable output.

Return Value

Name Type Description
return unsigned long

Zero for success, or no-zero error code.

References

Power Supply
Client Bridge for LXI - Base module
Alphabetical Function Index
Hierarchical Function Index