GX5055
Returns the high powered chassis power supply state.
DioPowerSupplyGetRailsState (nHandle, pnState, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Session identifier:Board handle is used when communicating with the hardware. The Board handle session identifier is returned by calling DioInitialize or DioSetupInitialization. |
pnState |
PSHORT |
Used to get the high powered chassis power supply state0. DIO_POWER_SUPPLY_DISABLE: high powered chassis power supply is disabled.1. DIO_POWER_SUPPLY_ENABLE: high powered chassis power supply is enabled |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function is used to prime the sequencer prior to an external start.
See the DioPowerSupplySetRailsVoltage for a complete example.
DioPowerSupplyGetStatus, DioPowerSupplyIsSupported, DioPowerSupplyMeasure, DioPowerSupplyResetFault, DioPowerSupplySetRailsState, DioPowerSupplySetRailsVoltage, DioGetErrorString