21 #define ERROR_PREFIX "DMM Driver ERROR:" 55 sprintf(buf,
"%d ) %s",w, err);
191 dscadscan.
gain = dscadsettings.
gain;
void DSCAD_Error(char *err, int w)
void MObjectSetBackgroundRGB(MOBJECT obj, int r, int g, int b)
void MObjectSetShadow(MOBJECT obj, int type, int in, int out)
BYTE DSCUDAPICALL dscADSetSettings(DSCB board, DSCADSETTINGS *settings)
void MShellRealize(MOBJECT obj)
BYTE DSCUDAPICALL dscGetLastError(ERRPARAMS *errparams)
MOBJECT MCreateLabel(MOBJECT parent, const char *text, MTFont font)
short DB_BG_Albl[3]
Background ACTIVE Label Colors.
BYTE DSCUDAPICALL dscInitBoard(BYTE boardtype, DSCCB *dsccb, DSCB *board)
short DB_FG_Albl[3]
Foreground ACTIVE Label Colors.
MOBJECT MCreateShell(const char *title, int flags)
DSCADSETTINGS dscadsettings
short DB_BG[3]
Default Background Color.
int D_InitPC104(void)
Starting function that calls the driver functions used NOTE: By convention, you should capture the BY...
BYTE DSCUDAPICALL dscADScan(DSCB board, DSCADSCAN *dscadscan, DSCSAMPLE *sample_values)
void D_rt(void)
D_readtemp_int callback .
void MObjectSetForegroundRGB(MOBJECT obj, int r, int g, int b)
double ADVolt[16]
PC104 AD samples reading array.
OMU Thermoregulation structure .
DSCSAMPLE * sample_values
void D_readtemp_int(void)
BYTE DSCUDAPICALL dscInit(WORD version)