DAS
3.1.6 - 18/09/2017
|
DMM procedures. More...
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <math.h>
#include "mgui.h"
#include "DAS_Spatram.h"
#include "dscud.h"
Go to the source code of this file.
Macros | |
#define | ERROR_PREFIX "DMM Driver ERROR:" |
Functions | |
int | D_InitPC104 (void) |
Starting function that calls the driver functions used NOTE: By convention, you should capture the BYTE return value for each driver API call, and check the error code. I. Driver Initialization II. Board Initialization III. AD Settings. More... | |
void | D_readtemp_int (void) |
void | D_rt (void) |
D_readtemp_int callback . More... | |
void | DSCAD_Error (char *err, int w) |
Variables | |
DSCADSCAN | dscadscan |
DSCADSETTINGS | dscadsettings |
DSCAIOINT | dscaioint |
DSCB | dscb |
DSCCB | dsccb |
DSCS | dscs |
ERRPARAMS | errorParams |
int | Incr_Read_Temp |
omuthr | OMUTHR |
BYTE | result |
WORD * | samples |
double | voltage |
DMM procedures.
Definition in file Dscad.c.
int D_InitPC104 | ( | void | ) |
Starting function that calls the driver functions used NOTE: By convention, you should capture the BYTE return value for each driver API call, and check the error code. I. Driver Initialization II. Board Initialization III. AD Settings.
Definition at line 120 of file Dscad.c.
Referenced by D_readtemp_int(), and InitTempAD().
void D_readtemp_int | ( | void | ) |
Definition at line 71 of file Dscad.c.
References omuthr::ADVolt, DSCCB::base_address, BIPOLAR, DSCCB::boardtype, BYTE, DSCCB::clock_freq, DSCADSETTINGS::current_channel, D_InitPC104(), DE_NONE, DSCCB::dma_level, DSC_DMM, DSC_VERSION, DSCAD_Error(), dscADScan(), dscADSetSettings(), dscb, dscGetLastError(), dscInit(), dscInitBoard(), ERRPARAMS::errstring, DSCADSETTINGS::gain, DSCADSCAN::gain, GAIN_1, DSCADSCAN::high_channel, DSCCB::int_level, DSCADSETTINGS::load_cal, DSCADSCAN::low_channel, DSCADSETTINGS::polarity, DSCADSETTINGS::range, RANGE_10, RANGE_5, result, DSCADSCAN::sample_values, samples, TRUE, UNIPOLAR, voltage, and WORD.
Referenced by D_rt().
void D_rt | ( | void | ) |
D_readtemp_int callback
.
Starting function that calls the driver functions used
.
Definition at line 64 of file Dscad.c.
References D_readtemp_int().
Referenced by D_readtemp().
void DSCAD_Error | ( | char * | err, |
int | w | ||
) |
Definition at line 48 of file Dscad.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 D_readtemp_int().
DSCADSETTINGS dscadsettings |
DSCB dscb |
Definition at line 31 of file Dscad.c.
Referenced by D_readtemp_int(), and ShutCB().
int Incr_Read_Temp |
Definition at line 101 of file DAS_Spat.c.
BYTE result |
Definition at line 30 of file Dscad.c.
Referenced by D_readtemp_int(), and DB_FindChar().
WORD* samples |
Definition at line 35 of file Dscad.c.
Referenced by D_readtemp_int().
double voltage |
Definition at line 36 of file Dscad.c.
Referenced by D_readtemp_int().