Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

gpiberr.h

Go to the documentation of this file.
00001 /*
00002  * MAX : gpiberr.h, Sam Dez 29 19:47:09 CET 2001 -sg
00003  * 
00004  * This file is part of Max data acquisition software
00005  * Copyright (C) 1997,98 Christian Rosen
00006  *
00007  * Max is free software; you can redistribute it and/or modify it
00008  * under the terms of the version 2 of GNU General Public License as
00009  * published by the Free Software Foundation.
00010  *
00011  * Max is distributed in the hope that it will be useful, but WITHOUT
00012  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00013  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00014  * for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * (see the file COPYING) in this directory; if not, write to the
00018  * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019  */
00020 
00021 #ifndef __GPIBERR_HPP__
00022 #define __GPIBERR_HPP__
00023 
00024 
00025 /*
00026         additional defs of status word bits (missing in gpib_user.h)
00027 */ 
00028 #ifndef EVENT
00029   #define EVENT  (1 << 10)      // A DTAS or DCAS event has occured
00030 #endif
00031 #ifndef SPOLL
00032   #define SPOLL  (1 <<  9)      // The board has been serial polled by the controller
00033 #endif
00034 #ifndef LOK
00035   #define LOK    (1 <<  7)      // Lockout state
00036 #endif
00037 #ifndef REM
00038   #define REM    (1 <<  6)      // Remote State
00039 #endif
00040 #ifndef DTAS
00041   #define DTAS   (1 <<  1)      // Device trigger state
00042 #endif
00043 #ifndef DCAS
00044   #define DCAS   (1)            // Device clear state
00045 #endif
00046 
00047 
00048 /*
00049   Diese Funktion ist fuer das Errorhandling auf dem Gpib-bus
00050   verantwortlich - mit variabler Argumentenliste!
00051 */
00052 
00053 void gpib_error ( char *formatstr, ... );
00054 
00055 
00056 /*
00057   Vorlaeufer-Version von gpib_error(),
00058   zwecks backward compatibility erhalten
00059 */
00060  
00061 void gpiberr ( char *errmsgstr );
00062 
00063 #endif

Generated at Mon Sep 2 18:21:03 2002 for MAX by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001