dan7x2.c File Reference

Library for Data Analysis; DEC ReGIS 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   "\033P1p"
#define SCREEN   "S(A[0,479][799,0])"
#define CLRSCR   "S(E)"
#define OWRITE   "W(V)"
#define RETMOD   diaptr->retmod
#define BITMAP   diaptr->bitmap
#define TXTMAP   diaptr->txtmap
#define SHADE   diaptr->shade
#define COLOR   diaptr->color
#define REMAP   diaptr->remap
#define DNORM   "W(P1)W(I2)"
#define DBOLD   "W(P1)W(I3)"
#define DDOTN   "W(P4)W(I2)"
#define DDOTB   "W(P4)W(I3)"
#define DDASHN   "W(P2)W(I2)"
#define DDASHB   "W(P2)W(I3)"
#define DDODAB   "W(P9)W(I3)"
#define CLRDOT   "W(E)"
#define SETDOT   "W(V)"
#define COMDOT   "W(C)"
#define XLL   0
#define YLL   0
#define XUL   799
#define YUL   479
#define XSCAL   .08
#define YSCAL   .048

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 regvt330
DIALECT regvt340
DIALECT regdterm
PLOTMODE plotReGIS
static int pmode = 0
static int status = 0
static int termnl = 0
static FILE * fd
static FILE * savfd


Detailed Description

Library for Data Analysis; DEC ReGIS 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
18mar04 kHu	regvt340 angepasst fuer VT340-Emulator E-Term32-plus
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
13jan99 kHu	Umstellung auf dan-Library
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 BITMAP   diaptr->bitmap

#define CLRDOT   "W(E)"

#define CLRSCR   "S(E)"

#define COLOR   diaptr->color

#define COMDOT   "W(C)"

#define DBOLD   "W(P1)W(I3)"

#define DDASHB   "W(P2)W(I3)"

#define DDASHN   "W(P2)W(I2)"

#define DDODAB   "W(P9)W(I3)"

#define DDOTB   "W(P4)W(I3)"

#define DDOTN   "W(P4)W(I2)"

#define DNORM   "W(P1)W(I2)"

#define GRAFCS   "\033P1p"

#define OWRITE   "W(V)"

#define PRIVAT7x

#define REMAP   diaptr->remap

#define RETMOD   diaptr->retmod

#define SCREEN   "S(A[0,479][799,0])"

#define SETDOT   "W(V)"

#define SHADE   diaptr->shade

#define TXTMAP   diaptr->txtmap

#define XLL   0

#define XSCAL   .08

#define XUL   799

#define YLL   0

#define YSCAL   .048

#define YUL   479


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]

VT240 suppresses the first and VT330 the last pixel of a vector ! []P...V[] plots these missing pixels WRITE(5,'(1H+,''[]P['',I3,'','',I3,'']V[]'',$)')

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]

PLOTMODE plotReGIS

Initial value:

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

int pmode = 0 [static]

Initial value:

 {
    "\033\\""\033[62;1\"p",     
    16,         
    "W(I(D))",          
                        
    "S(M0(L100)1(L66)2(L33)3(L0))"
    "S(I(W))S(E)W(I(D))",       
                        


 
 




    "S(M0(AH0L100S0)14(AH132L13S83)13(AH133L35S85)12(AH120L33S100)"
    "11(AH120L50S100)10(AH120L67S100)9(AH180L33S100)8(AH180L45S100)"
    "7(AH180L67S100)6(AH230L33S100)5(AH230L45S100)4(AH230L67S100)"
    "3(AH310L33S100)2(AH310L45S100)1(AH310L67S100)15(AH0L0S0))"
    "S(I(W))S(E)W(I(D))",       
                        
    "S(M0(AH0L0S0)1(AH360L50S100)2(AH120L50S100)3(AH240L50S100))"
    "S(M4(AH60L50S100)5(AH0L0S0)6(AH0L100S0)7(AH0L100S0))"
    "S(M8(AH0L26S0)9(AH360L50S100)10(AH120L50S100)11(AH240L50S100))"
    "S(M12(AH60L50S100)13(AH300L50S100)14(AH180L50S100)15(AH0L80S0))"
    "S(I0)S(E)W(I7)"    
}

Initial value:

 {
    "\033\\",           
    4,          
    "W(I(W))",          
    "S(M0(L0)1(L33)2(L66)3(L100))S(I0)S(E)",    
    "S(M0(L100)1(L66)2(L33)3(L0))S(I3)S(E)",    
    "S(M0(L0)1(L33)2(L67)3(L100))S(I0)S(E)W(I3)" 
}

Initial value:

 {
    "\033\\",           
    16,         
    "W(I(D))",          
                        
    "S(M0(L100)1(L66)2(L33)3(L0))"
    "S(I(W))S(E)W(I(D))",       
                        
    "S(M0(AH0L100S0)14(AH132L13S83)13(AH133L35S85)12(AH120L33S100)"
    "11(AH120L50S100)10(AH120L67S100)9(AH180L33S100)8(AH180L45S100)"
    "7(AH180L67S100)6(AH230L33S100)5(AH230L45S100)4(AH230L67S100)"
    "3(AH310L33S100)2(AH310L45S100)1(AH310L67S100)15(AH0L0S0))"
    "S(I(W))S(E)W(I(D))",       
                        
    "S(M0(AH0L0S0)1(AH360L50S100)2(AH120L50S100)3(AH240L50S100)"
    "4(AH60L50S100)5(AH0L0S0)6(AH0L100S0)7(AH0L100S0))"
    "S(M8(AH0L26S0)9(AH360L50S100)10(AH120L50S100)11(AH240L50S100))"
    "S(M12(AH60L50S100)13(AH300L50S100)14(AH180L50S100)15(AH0L80S0))"
    "S(I0)S(E)W(I7)"    
}

FILE* savfd [static]

int status = 0 [static]

int termnl = 0 [static]


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