From ed07df16da675c4c123e02a996822daf13d69c63 Mon Sep 17 00:00:00 2001 From: lhoerl <coder@lolux.de> Date: 周一, 03 8月 2015 22:42:07 +0800 Subject: [PATCH] added full SCPI error messages added list for device dependent error messages some minor changes to get rid of compiler warnings added support for Keil ARM compiler added support for National Instruments CVI compiler removed bug if(c = '\0')... --- libscpi/inc/scpi/constants.h | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/libscpi/inc/scpi/constants.h b/libscpi/inc/scpi/constants.h index 9316556..6023e6d 100644 --- a/libscpi/inc/scpi/constants.h +++ b/libscpi/inc/scpi/constants.h @@ -42,9 +42,19 @@ #endif -#define SCPI_MANUFACTURE "CTU FEE" -#define SCPI_DEV_NAME "TEST SCPI INSTRUMENT TSI3225" -#define SCPI_DEV_VERSION "v1.0" +/* 4.1.3.6 *IDN? */ + +#define SCPI_DEFAULT_1_MANUFACTURE "CTU FEE" +#define SCPI_DEFAULT_2_MODEL "TSI3225" +#define SCPI_DEFAULT_3 "0" +#define SCPI_DEFAULT_4_REVISION "01-01" + +/* 21.21 :VERSion? + * YYYY.V + * YYYY = SCPI year + * V = SCPI revision + */ +#define SCPI_STD_VERSION_REVISION "1999.0" #ifdef __cplusplus } -- Gitblit v1.9.1