From a10c464ba98e980b21185bf084789f6c8df22473 Mon Sep 17 00:00:00 2001 From: Iztok Jeras <iztok.jeras@gmail.com> Date: 周三, 19 7月 2017 21:03:37 +0800 Subject: [PATCH] moving bool choice definition (ON, OFF) to units.c, so it could be used by various applications --- libscpi/inc/scpi/constants.h | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libscpi/inc/scpi/constants.h b/libscpi/inc/scpi/constants.h index 9316556..ecbfb55 100644 --- a/libscpi/inc/scpi/constants.h +++ b/libscpi/inc/scpi/constants.h @@ -41,10 +41,17 @@ extern "C" { #endif + /* 21.21 :VERSion? + * YYYY.V + * YYYY = SCPI year + * V = SCPI revision + */ +#define SCPI_STD_VERSION_REVISION "1999.0" -#define SCPI_MANUFACTURE "CTU FEE" -#define SCPI_DEV_NAME "TEST SCPI INSTRUMENT TSI3225" -#define SCPI_DEV_VERSION "v1.0" +/* 21.8 :ERRor Subsystem + * The maximum string length of <Error/event_description> plus <Device-dependent_info> is 255 characters. + */ +#define SCPI_STD_ERROR_DESC_MAX_STRING_LENGTH 255 #ifdef __cplusplus } -- Gitblit v1.9.1