mar_command.h

Go to the documentation of this file.
00001 /***********************************************************************
00002  *
00003  * mar345: mar_command.h
00004  *
00005  * Copyright by:        Dr. Claudio Klein
00006  *                      X-ray Research GmbH, Hamburg
00007  *
00008  * Version:     2.0
00009  * Date:        04/11/1998
00010  *
00011  ***********************************************************************/
00012 
00013 /*
00014  *      Definitions for the mar controller hardware commands.
00015  */
00016 static char *cmdstr[] = { "NULL",       "STEPPER",      "RADIAL",       "XFER",
00017                           "SHUTTER",    "LOCK",         "ABORT",        "EXPOSE",
00018                           "ADJUST",     "CHANGE",       "SCAN",         "SET",
00019                           "ERASE",      "MOVE",         "CHAMBER",      "SHELL",
00020                           NULL };
00021 
00022 #define CMD_MODE_MOVE_REL       0
00023 #define CMD_MODE_MOVE_ABS       1
00024 #define CMD_MODE_MIN            2
00025 #define CMD_MODE_MAX            3
00026 #define CMD_MODE_SET            4
00027 
00028 #define CMD_MODE_CLOSE          0
00029 #define CMD_MODE_OPEN           1
00030 
00031 #define CMD_MODE_DISABLE        0
00032 #define CMD_MODE_ENABLE         1
00033 
00034 #define CMD_MODE_DOSE           0
00035 #define CMD_MODE_TIME           1