![]() |
tcio
|
Functions | |
DLL_RESULT | TC42GetTemperaturePCB (double *pTemperature) |
Get internal controllerboard temperature. | |
DLL_RESULT | TC4GetQ4ControllerActive (unsigned short *pActive) |
read if device is operating in Q4 mode (sinking) Always reads zero if device is not a GSS device | |
DLL_RESULT | TC4ReadErrorTree (struct T_ErrorTree *pErrorTree) |
This function reads the error group- and detail-codes into a structure which is defined as follows: | |
DLL_RESULT | TC4ReadErrorTree32 (struct T_ErrorTree32 *pErrorTree32) |
This function reads the error group- and detail-codes into a structure which is defined as follows: | |
DLL_RESULT | TC4ReadWarningTree (struct T_ErrorTree *pWarnTree) |
This function reads the warning group- and detail-codes into a structure which is defined as follows: | |
DLL_RESULT | TC4ReadWarningTree32 (struct T_ErrorTree32 *pWarnTree32) |
This function reads the warning group- and detail-codes into a structure which is defined as follows: | |
DLL_RESULT | TC4StateActSystem (unsigned int *pState) |
returns the actual system- or module-state, depending on whether this function is called on a TopCon Master (returns system state) or Slave (returns module state of that Slave). |
Info about device state (ready, runnung, error, ...), pending error and/or warning flags.
DLL_RESULT TC42GetTemperaturePCB | ( | double * | pTemperature | ) |
Get internal controllerboard temperature.
[out] | pTemperature | [Degree-Celsius] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetQ4ControllerActive | ( | unsigned short * | pActive | ) |
read if device is operating in Q4 mode (sinking)
Always reads zero if device is not a GSS device
[out] | pActive | 1: Enabled 0: Disabled |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4ReadErrorTree | ( | struct T_ErrorTree * | pErrorTree | ) |
This function reads the error group- and detail-codes into a structure which is defined as follows:
struct T_ErrorTree
{
WORD group;
WORD error[16];
};
All structure elements are 16bit wide and are aligned without memory gaps.
[out] | pErrorTree | T_ErrorTree-structure. |
structure index | Error group |
error[0] | Internal |
error[1] | Internal (PDSP) |
error[2] | Output current |
error[3] | Output voltage |
error[4] | Supply |
error[5] | Temperature |
error[6] | Communication |
error[7] | Internal (Modulator) |
error[8] | Internal (AD-overrange 1) |
error[9] | Internal (AD-overrange 2) |
error[10] | Internal (AD-underrange 1) |
error[11] | Internal (AD-underrange 2) |
error[12] | Login |
error[13] | Configuration |
error[14] | Configuration 2 |
error[15] | Miscellaneous |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4ReadErrorTree32 | ( | struct T_ErrorTree32 * | pErrorTree32 | ) |
This function reads the error group- and detail-codes into a structure which is defined as follows:
struct T_ErrorTree32 { unsigned long group; unsigned long error[32]; }
All structure elements are 32bit wide and are aligned without memory gaps.
[in] | pErrorTree32 | T_ErrorTree-structure. |
structure index | Error group |
error[0] | Internal |
error[1] | Internal (PDSP) |
error[2] | Output current |
error[3] | Output voltage |
error[4] | Supply |
error[5] | Temperature |
error[6] | Communication |
error[7] | Internal (Modulator) |
error[8] | AD overrange 1 |
error[9] | AD overrange 2 |
error[10] | AD underrange 1 |
error[11] | AD underrange 2 |
error[12] | Login |
error[13] | Configuration |
error[14] | Configuration 2 |
error[15] | Miscellaneous |
error[16] | IBC System |
error[17] | IBC Supply |
error[18] | IBC Communication |
error[19] | IBC Power |
error[20] | IBC Inverter |
error[21] | IBC Miscellaneous |
error[22] | IBC Inverter 2 |
error[23] | Not def. |
error[24] | Not def. |
error[25] | Not def. |
error[26] | Not def. |
error[27] | Login 2 |
error[28] | Configuration 3 |
error[29] | Communication 3 |
error[30] | Internal 2 |
error[31] | Communication 2 |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4ReadWarningTree | ( | struct T_ErrorTree * | pWarnTree | ) |
This function reads the warning group- and detail-codes into a structure which is defined as follows:
struct T_ErrorTree
{
WORD group;
WORD error[16];
};
All structure elements are 16bit wide and are aligned without memory gaps.
[in] | pWarnTree | T_ErrorTree-structure. |
structure index | Error group |
error[0] | Internal |
error[1] | Internal (PDSP) |
error[2] | Output current |
error[3] | Output voltage |
error[4] | Supply |
error[5] | Temperature |
error[6] | Communication |
error[7] | Internal (Modulator) |
error[8] | AD overrange 1 |
error[9] | AD overrange 2 |
error[10] | AD underrange 1 |
error[11] | AD underrange 2 |
error[12] | Login |
error[13] | Configuration |
error[14] | Configuration 2 |
error[15] | Miscellaneous |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4ReadWarningTree32 | ( | struct T_ErrorTree32 * | pWarnTree32 | ) |
This function reads the warning group- and detail-codes into a structure which is defined as follows:
struct T_ErrorTree32 { unsigned long group; unsigned long error[32]; }
All structure elements are 32bit wide and are aligned without memory gaps.
[in] | pWarnTree32 | T_ErrorTree32-structure. |
structure index | Error group |
error[0] | Internal |
error[1] | Internal (PDSP) |
error[2] | Output current |
error[3] | Output voltage |
error[4] | Supply |
error[5] | Temperature |
error[6] | Communication |
error[7] | Internal (Modulator) |
error[8] | AD overrange 1 |
error[9] | AD overrange 2 |
error[10] | AD underrange 1 |
error[11] | AD underrange 2 |
error[12] | Login |
error[13] | Configuration |
error[14] | Configuration 2 |
error[15] | Miscellaneous |
error[16] | IBC System |
error[17] | IBC Supply |
error[18] | IBC Communication |
error[19] | IBC Power |
error[20] | IBC Inverter |
error[21] | IBC Miscellaneous |
error[22] | IBC Inverter 2 |
error[23] | Not def. |
error[24] | Not def. |
error[25] | Not def. |
error[26] | Not def. |
error[27] | Login 2 |
error[28] | Configuration 3 |
error[29] | Communication 3 |
error[30] | Internal 2 |
error[31] | Communication 2 |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4StateActSystem | ( | unsigned int * | pState | ) |
returns the actual system- or module-state, depending on whether this function is called on a TopCon Master (returns system state) or Slave (returns module state of that Slave).
[out] | pState | Actual state 2: POWERUP 4: READY 8: RUN 10: WARNING 12: ERROR 14: STOP |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs