GX5295
Returns the over temperature flag state.
DioGetOverTemperatureStatus (nHandle, pdwOverTemp, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Board or File board handle. |
pdwOverTemp |
PDWORD |
Over temperature flag state:0. No channel had an over temperature condition.1. One or more channels had an over temperature condition. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
All channels over temperature flag are ORed together to generate the over temperature flag state. If one or more channels had an over temperature condition the functions returns a ‘1’. The actual temperature of each channel can be measure by calling the DioMeasure function.
The following example returns over temperature flag:
DWORD dwOverTemp;
DioGetOverTemperatureStatus (nHandle, &dwOverTemp, &nStatus);