ftp_h

/*
**	Copyright 1996, Universities Research Association.  All rights reserved.
*/
/******************************************************************************/
/* ftp.h
**  
**	defined constants for use with the Fast Time Plot and Snapshot Plot
**	protocols
**
*/
/******************************************************************************/

#ifndef FTP_DEFINED				/* do this only once */
#define	FTP_DEFINED

/* Fast Time Plot device class codes */

#define	FTP_CLASS_NULL		0		/* not plottable */
#define	FTP_CLASS_C190		1		/* C190 MADC channel */
#define	FTP_CLASS_IRM		2		/* IRM */
#define	FTP_CLASS_15HZ		5		/* 15 Hz (Linac, D/A's etc) */
#define	FTP_CLASS_1HZ		6		/* 1 Hz from DPM (frig) */
#define	FTP_CLASS_15HZ_DPM	7		/* 15 Hz from DPM (no FTPMAN) */
#define	FTP_CLASS_60HZ		8		/* 60 Hz internal */
#define	FTP_CLASS_1440HZ	9		/* 1440 Hz (MECAR) */
/* new (typecode 6) class codes */
#define	FTP_CLASS_C190_NEW	11		/* C190 MADC channel */
#define	FTP_CLASS_IRM_NEW	12		/* IRM */
#define	FTP_CLASS_15HZ_NEW	15		/* 15 Hz (Linac, D/A's etc) */
#define	FTP_CLASS_C290		16		/* C290 MADC channel */
#define	FTP_CLASS_60HZ_NEW	18		/* 60 Hz internal */
#define	FTP_CLASS_1440HZ_NEW	19		/* 1440 Hz (MECAR) */
#define	FTP_CLASS_TEVCOL	20		/* Tev collimators 240 Hz */
#define	FTP_CLASS_DAE_1HZ	22		/* DAE 1 Hz */
#define	FTP_CLASS_DAE_15HZ	23		/* DAE 15 Hz */
#define	FTP_CLASS_HRM_10KHZ	25		/* HRM 10 KHz */
#define	FTP_CLASS_BOOSTER_BLM	28		/* Booster BLM 12.5 KHz */

/* Snapshot device class codes */

#define	SNAP_CLASS_NULL		0		/* not Snapshotable */
#define	SNAP_CLASS_C190		1		/* C190 MADC channel */
#define	SNAP_CLASS_1440HZ	2		/* 1440 Hz internal */
#define	SNAP_CLASS_15HZ		4		/* 15 Hz internal */
#define	SNAP_CLASS_60HZ		5		/* 60 Hz internal */
#define	SNAP_CLASS_QUICK	6		/* Quick digitizer (Linac) */
#define	SNAP_CLASS_720HZ	7		/* 720 Hz */
#define	SNAP_CLASS_FRIG_DIO	8		/* frig trigger device */
#define	SNAP_CLASS_FRIG		9		/* frig circular buffer */
/* new (typecode 7) class codes */
#define	SNAP_CLASS_C190_NEW	11		/* C190 MADC channel */
#define	SNAP_CLASS_1440HZ_NEW	12		/* 1440 Hz internal */
#define	SNAP_CLASS_C290		13		/* C290 MADC channel */
#define	SNAP_CLASS_15HZ_NEW	14		/* 15 Hz internal */
#define	SNAP_CLASS_60HZ_NEW	15		/* 60 Hz internal */
#define	SNAP_CLASS_QUICK_NEW	16		/* Quick digitizer (Linac) */
#define	SNAP_CLASS_SWIFT	19		/* Swift digitizer */
#define	SNAP_CLASS_QUICKER	20		/* IRM Quicker digitizer (20 MHz) */
#define	SNAP_CLASS_IRM_1KHZ	21		/* IRM 1 KHz digitizer */
#define	SNAP_CLASS_DAE_1HZ	22		/* DAE 1 Hz */
#define	SNAP_CLASS_DAE_15HZ	23		/* DAE 15 Hz */
#define	SNAP_CLASS_SWIFT_NO_DELAY	24	/* IRM Swift digitizer (no delay) */
#define	SNAP_CLASS_HRM_10KHZ	25		/* HRM 10 KHz */
#define	SNAP_CLASS_HRM_10MHZ	26		/* HRM 10 MHz */
#define	SNAP_CLASS_COMET	27		/* Comet digitizer 5 MHz */
#define	SNAP_CLASS_BOOSTER_BLM	28		/* Booster BLM 12.5 KHz */

#define	SNAP_NPTS_C190		2048		/* number of C190 snapshot points */
#define	SNAP_NPTS_FRIG		16384		/* number of frig snapshot points */

#endif