dan7x1.c File Reference

Library for Data Analysis; Tektronix grafics routines. More...

#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "taskLib.h"
#include "math.h"
#include "application.conf"

Data Structures

struct  DIALECT

Defines

#define PRIVAT7x
#define GRAFCS   "\033[?38h"
#define RETMOD   diaptr->retmod
#define CLRSCR   "\033\014"
#define MALPHA   "\037"
#define MPOINT   "\034"
#define MVECTR   "\035"
#define MGIN   "\032"
#define DEL   "\10\40\10"
#define DNORM   "\033e"
#define DBOLD   "\033h"
#define DDOTN   "\033a"
#define DDOTB   "\033i"
#define DDASHN   "\033c"
#define DDASHB   "\033k"
#define DDODAB   "\033j"
#define CLRDOT   diaptr->clrdot
#define SETDOT   diaptr->setdot
#define COMDOT   diaptr->comdot
#define XLL   0
#define YLL   0
#define XUL   1023
#define YUL   1023
#define XSCAL   .1024
#define YSCAL   .0768
#define BUFLEN   250
#define BUFEND   BUFLEN-3
#define BUFEND   BUFLEN-7
#define BUFEND   BUFLEN-9
#define BUFEND   BUFLEN-7
#define BUFEND   BUFLEN-10
#define XFMT   .65
#define YFMT   .863

Functions

static int plotE (FILE *fd, int device, int language, int color)
static void plotX (void)
static void plotC (void)
static void plotTs (int x, int y)
static void plotTx (void)
static void plotPs (int mode)
static void plotPx (void)
static void plotP1 (int mode, int x, int y)
static void plotP2 (int x, int yl, int yh)
static void plotP3 (int x, int x0, int y)
static void plotP4 (int mode, int x, int y, int z)
static void plotSd (int mode)
static void plotMa (int x, int y, char *label)
static void plotGi (char *charct, float *pos)

Variables

static DIALECTdiaptr = NULL
DIALECT tekvt
DIALECT tekxt
DIALECT tektet
PLOTMODE plot4010
static char pos [BUFLEN]
static int pcount = 0
static int pmode = 0
static int status = 0
static int termnl = 0
static FILE * fd
static FILE * savfd


Detailed Description

Library for Data Analysis; Tektronix grafics routines.

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN
Date:
08.01.1996
Version:
15.08.2008
modification history
--------------------
15aug08 kHu	DOXYGEN comments added
04jun04 kHu	plotE(FILE *fdout, int device, int language, int color)
01jun04 kHu	added plotP4()
16apr03 kHu	Fit gemacht fuer -Wall GCC-Option
11nov99 kHu	Newprog Standard
02sep99 kHu	Abschluss Pruefung
24aug99 kHu	ueberarbeitet
17aug99 kHu	plotMa() geaendert
11jan99 kHu	Mod. Dialekt Differenz.
17dec98 kHu	xPlotTs mit Position
16dec98 kHu	Start/Stop Text/Plot Mode besser
07dec98 kHu	nach Dialekten differenziert
04dec98 kHu	plotE() mode added
18nov98 kHu	Peak integration added
15sep98	kHu	added fflush() to plotX()
08jan96	kHu	new 

Define Documentation

#define BUFEND   BUFLEN-10

#define BUFEND   BUFLEN-7

#define BUFEND   BUFLEN-9

#define BUFEND   BUFLEN-7

#define BUFEND   BUFLEN-3

#define BUFLEN   250

#define CLRDOT   diaptr->clrdot

#define CLRSCR   "\033\014"

#define COMDOT   diaptr->comdot

#define DBOLD   "\033h"

#define DDASHB   "\033k"

#define DDASHN   "\033c"

#define DDODAB   "\033j"

#define DDOTB   "\033i"

#define DDOTN   "\033a"

#define DEL   "\10\40\10"

#define DNORM   "\033e"

#define GRAFCS   "\033[?38h"

#define MALPHA   "\037"

#define MGIN   "\032"

#define MPOINT   "\034"

#define MVECTR   "\035"

#define PRIVAT7x

#define RETMOD   diaptr->retmod

#define SETDOT   diaptr->setdot

#define XFMT   .65

#define XLL   0

#define XSCAL   .1024

#define XUL   1023

#define YFMT   .863

#define YLL   0

#define YSCAL   .0768

#define YUL   1023


Function Documentation

static void plotC ( void   )  [static]

static int plotE ( FILE *  fd,
int  device,
int  language,
int  color 
) [static]

static void plotGi ( char *  charct,
float *  pos 
) [static]

static void plotMa ( int  x,
int  y,
char *  label 
) [static]

static void plotP1 ( int  mode,
int  x,
int  y 
) [static]

static void plotP2 ( int  x,
int  yl,
int  yh 
) [static]

static void plotP3 ( int  x,
int  x0,
int  y 
) [static]

static void plotP4 ( int  mode,
int  x,
int  y,
int  z 
) [static]

static void plotPs ( int  mode  )  [static]

static void plotPx ( void   )  [static]

static void plotSd ( int  mode  )  [static]

static void plotTs ( int  x,
int  y 
) [static]

static void plotTx ( void   )  [static]

static void plotX ( void   )  [static]


Variable Documentation

DIALECT* diaptr = NULL [static]

FILE* fd [static]

int pcount = 0 [static]

PLOTMODE plot4010

Initial value:

 {
    10000.,             
    10000.,             
    &plotE,             
    &plotX,             
    &plotC,             
    &plotTs,            
    &plotTx,            
    &plotPs,            
    &plotPx,            
    &plotP1,            
    &plotP2,            
    &plotP3,            
    &plotP4,            
    &plotSd,            
    &plotMa,            
    &plotGi             
}

int pmode = 0 [static]

char pos[BUFLEN] [static]

FILE* savfd [static]

int status = 0 [static]

Initial value:

 {
    "\033[?38l",        
    "",                 
    "",                 
    "",                 
}

Initial value:

 {
    "\033[?38l",        
    "\033/1d",          
    "\033/0d",          
    "\033/2d",          
}

Initial value:

 {
    "\033\003",         
    "",                 
    "",                 
    "",                 
}

int termnl = 0 [static]


Generated on Wed Oct 15 16:17:15 2008 for Experiment-Software by  doxygen 1.5.6