/*****************************************************************/ /* */ /* Copyright (c) Quinn-Curtis, 1991, 1992 */ /* */ /* Filename: RTGRAPH.H */ /* Revision: 3.0 */ /* Date: 2/3/92 */ /* */ /* Description: -Routines for set up and update of scroll, */ /* sweep and logic graphs */ /* */ /*****************************************************************/ #ifdef __cplusplus extern "C" { #endif #ifndef realtype #include "rtstdhdr.h" #include "rtgsubs.h" #endif void rtbackupscrollgraph(rtstattype *w, /* pointer to a window */ realtype *nv); /* pointer to a list of new values, one for each channel */ void setmaxrtbufferlength(int l); void rtsetscrollmode(rtstattype *w, int hvmode, int scrdir); void setlinethick(int i); void rtclampint(int low, int *v, int high); void rtdrawscrollwindow(rtstattype *w, int uflag); void rtsetupscrollgraph(rtstattype *w, realtype timeint, realtype sampleint, realtype miny, realtype maxy, realtype rt, int nt, int grid, realtype lalarm, realtype halarm, realtype stpnt, int xdecs, int ydecs,char *scrtitle, char *scrunits, tagtype *scrtags, int *lcolor, int *lfill,int ratchf); void rtupdatescrollxlab(rtstattype *w, realtype startv); void rtupdatescrolllab(rtstattype *w, realtype startv); void rtupdatescrollgraph(rtstattype *w, realtype *nv); void rtupdategraphng(rtstattype *w, realtype *nv); void rtdrawsweepwindow(rtstattype *w, int uflag); void rtsetupsweepgraph(rtstattype *w, realtype timeint, realtype sampleint, realtype miny, realtype maxy,realtype rt, int nt, int grid, realtype lalarm, realtype halarm, realtype stpnt, int xdecs, int ydecs, char *scrtitle, char *scrunits, tagtype *scrtags, int *lcolor, int *lfill, int ratchf); void rtupdatesweepgraph(rtstattype *w, realtype *nv); void rtdrawlogicwindow(rtstattype *w, int uflag); void rtsetuplogicgraph(rtstattype *w, realtype timeint, realtype sampleint,realtype rt, int nt, int grid, int xdecs, char *scrtitle, tagtype *scrtags, int *lcolor, int *lfill); void rtupdatelogicgraph(rtstattype *w, realtype *nv); void rtupdatelogicgraphng(rtstattype *w, realtype *nv); void rtdrawxywindow(rtstattype *w, int uflag); void rtsetupxygraph(rtstattype *w, realtype minx, realtype maxx, realtype miny, realtype maxy, int numpoints, realtype rt, int nt, int grid, realtype lalarm, realtype halarm, realtype stpnt, int xdecs,int ydecs, char *scrtitle, char *scrunitsx, char *scrunitsy, tagtype *scrtags, int *lcolor, int *lfill, int ratchf); void rtupdatexygraph(rtstattype *w, realtype *nv); void rtupdatexygraphng(rtstattype *w, realtype *nv); void rtdrawalarmlines(rtstattype *w); void rtdrawscrollbarwindow(rtstattype *w, int uflag); void rtsetupscrollbargraph(rtstattype *w, realtype timeint, realtype sampleint, realtype min, realtype max, realtype rt, int nt, int grid, realtype lalarm, realtype halarm, realtype stpnt, int xdecs,int ydecs, char *scrtitle, char *scrunits, tagtype *scrtags, int *lcolor, int *lfill, int ratchf); void rtupdatescrollbargraph(rtstattype *w, realtype *nv); int rtgetscrollgraphchannel(rtstattype *win, int xp, int yp); int rtgetsweepgraphchannel(rtstattype *win, int xp, int yp); int rtgetlogicgraphchannel(rtstattype *win, int xp, int yp); int rtgetscrollbargraphchannel(rtstattype *win, int xp, int yp); int rtgetxygraphchannel(rtstattype *win, int xp, int yp); #ifdef __cplusplus } #endif