/* $Id: iseg_const.h,v 1.3 2003/05/10 07:56:48 wafer Exp $ */ #ifndef _iseg_const_inc #define _iseg_const_inc #define uchar unsigned char #define schar char #define uw16 unsigned short #define int16 short #define uw32 unsigned long const uchar sp = 0x20; const uchar esc = 0x1b; const uchar enter = 0x0d; const uchar lf = 0x0a; const uchar bell = 0x07; const uchar bs = 0x08; const uchar DLC = 0x0f; const unsigned char paramerror = 'P'; const unsigned char canbuserror = 'C'; const uchar bconnect = 0x01; const uchar DataID_ActualVoltage = 0x80; const uchar DataID_ActualCurrent = 0x90; const uchar DataID_SetVoltage = 0xa0; const uchar DataID_GeneralStat = 0xc0; const uchar DataID_OnOff = 0xcc; const uchar DataID_RampSpeed = 0xd0; const uchar DataID_LogOnOff =0xd8; #define SendTime "00:00:00.002" #define ISEG_MAX_CHAN 7 #endif