00001 /*************************************************************************** 00002 di194_commands.h - Commands that can be sent 00003 to a DI-194 device. 00004 ------------------- 00005 begin : Thu Jun 3 2004 00006 author : Ioan S. Popescu 00007 00008 Copyright (C) 2004 DATAQ Instruments, Inc. <develop@dataq.com> 00009 00010 This program is free software; you can redistribute it and/or 00011 modify it under the terms of the GNU General Public License 00012 as published by the Free Software Foundation; either 00013 version 2 of the License, or (at your option) any later 00014 version. 00015 00016 This program is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 GNU General Public License for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with this program; if not, write to the Free Software 00023 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00024 ***************************************************************************/ 00025 #ifndef DI194_COMMANDS_H 00026 #define DI194_COMMANDS_H 1 00027 00028 #include "../di_serial_io/di_serial_io.h" 00029 00038 00039 const bool Ncmd(di_serial_io &conn, char *sn); 00041 const bool Ccmd(di_serial_io &conn, const u_int8_t code=0x3F); 00043 const bool Dcmd(di_serial_io &conn, const u_int8_t code=0); 00045 const bool Scmd(di_serial_io &conn, const u_int8_t code=0); 00048 #endif 00049