DAS
3.1.6 - 18/09/2017
|
Error messages for DAS. Error management and messages for CCD Camera, AMS Drivers, ADConverter and Serial Communications. More...
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "mgui.h"
#include "DAS_Spatram.h"
Go to the source code of this file.
Functions | |
void | AMS_Error (int w) |
Alerts for AMS errors Creates a message window reporting the number of the error. More... | |
void | CCD_Error (char *str) |
Alerts for CCD errors Creates a message window reporting the number of the error. More... | |
void | ComErrors (int w) |
Alerts for COM errors Creates a message window reporting the number of the error. More... | |
void | DAS_Error (int c) |
void | DAS_Message (char *str, int er) |
void | Master_Error (int w) |
Variables | |
const char * | AMS_Err [] |
const char * | CCD_Err [] |
const char * | DAS_Err [] |
const char * | DE_Err [] = {{" DE Not Found "}} |
const char * | Master_Err [] |
Error messages for DAS. Error management and messages for CCD Camera, AMS Drivers, ADConverter and Serial Communications.
Definition in file Errors.c.
void AMS_Error | ( | int | w | ) |
Alerts for AMS errors
Creates a message window reporting the number of the error.
w | = code of the error |
Definition at line 254 of file Errors.c.
References AMS_Err, D_WriteInitLog(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Albl, DPAL, HELV_SMALL, lbl, MCreateLabel(), MCreateShell(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetShadow(), MShellRealize(), and WS_SHADOW_OUT.
Referenced by DB_InitAMS().
void CCD_Error | ( | char * | str | ) |
Alerts for CCD errors
Creates a message window reporting the number of the error.
w | = code of the error |
Definition at line 279 of file Errors.c.
References D_WriteInitLog(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Albl, DPAL, HELV_SMALL, lbl, MCreateLabel(), MCreateShell(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetShadow(), MShellRealize(), and WS_SHADOW_OUT.
Referenced by InitCCD_AMS(), and ShutCB().
void ComErrors | ( | int | w | ) |
Alerts for COM errors
Creates a message window reporting the number of the error.
w | = code of the error |
Definition at line 164 of file Errors.c.
References palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Albl, DPAL, HELV_SMALL, lbl, MCreateLabel(), MCreateShell(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetShadow(), MShellRealize(), and WS_SHADOW_OUT.
Referenced by DB_InitMotor().
void DAS_Error | ( | int | c | ) |
Definition at line 124 of file Errors.c.
References D_WriteInitLog(), DAS, DAS_Err, das::Gui, MGUITerm(), MMessageDialog(), MShellDestroy(), MShellUnrealize(), shells::Sh_Main, gui::Shells, and Status().
Referenced by SZA_FirstCalc().
void DAS_Message | ( | char * | str, |
int | er | ||
) |
Definition at line 74 of file Errors.c.
References palette::DB_BG_Plbl, palette::DB_FG_Plbl, DEFAULT_FONT, DPAL, lbl, LEFT_ALIGN, MCreateLabel(), MCreateShell(), MLabelSetAlignment(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), and MShellRealize().
Referenced by LoadSetDirs().
void Master_Error | ( | int | w | ) |
Definition at line 98 of file Errors.c.
References D_WriteInitLog(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Albl, DPAL, HELV_SMALL, lbl, Master_Err, MCreateLabel(), MCreateShell(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetShadow(), MShellRealize(), SF_MODAL, and WS_SHADOW_OUT.
Referenced by SZA_FirstCalc().
const char* AMS_Err[] |
Definition at line 36 of file Errors.c.
Referenced by AMS_Error().
const char* CCD_Err[] |
const char* DAS_Err[] |
Definition at line 46 of file Errors.c.
Referenced by DAS_Error().
const char* Master_Err[] |
Definition at line 65 of file Errors.c.
Referenced by Master_Error().