readVolts.cpp File Reference

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/syslog.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/un.h>
#include <unistd.h>
#include <signal.h>
#include <sys/wait.h>
#include <assert.h>
#include <errno.h>
#include "local.h"
#include <popt.h>
#include <list>
#include "parser.h"
#include "../vin/InputBlock.h"
#include "Timebase.h"

Go to the source code of this file.

Data Structures

struct  Globs

Defines

#define BUILD   "$File:$$Revision: 1.2 $ B1000"
#define PROCLOGNAME   "readVolts"
#define RAW1   -32768
#define RAW2   32767

Functions

static double raw2volts (int raw, Range range)
static int readVolts (InputBlock &inputBlock)
int main (int argc, const char *argv[])

Variables

int acq200_debug = 0
static struct Globs GL


Define Documentation

#define BUILD   "$File:$$Revision: 1.2 $ B1000"

Definition at line 22 of file readVolts.cpp.

#define PROCLOGNAME   "readVolts"

Definition at line 42 of file readVolts.cpp.

#define RAW1   -32768

Definition at line 74 of file readVolts.cpp.

Referenced by raw2volts().

#define RAW2   32767

Definition at line 75 of file readVolts.cpp.

Referenced by raw2volts().


Function Documentation

int main ( int  argc,
const char *  argv[] 
)

static double raw2volts ( int  raw,
Range  range 
) [static]

Definition at line 77 of file readVolts.cpp.

References RAW1, and RAW2.

Referenced by readVolts().

static int readVolts ( InputBlock &  inputBlock  )  [static]


Variable Documentation

int acq200_debug = 0

Definition at line 44 of file readVolts.cpp.

struct Globs GL [static]


Generated on Wed Feb 3 08:08:33 2010 for mdsshell by  doxygen 1.5.7.1