examples/common-cxx/scpi-def.h
@@ -32,6 +32,18 @@ #include "scpi/scpi.h" /* SCPI_IDN1 SCPI_IDN2 SCPI_IDN3 SCPI_IDN4 这几个参数是用来注册时表示信息 对应*IDN? 查询命令的返回内容(设备标识查询命令) 具体内容为(制造商,型号,序列号,固件版本) 如果使用CPP版本的话使用scpi-def.h 和scpi-def.cpp 这个提供了CPP版本的支持,.c的版本为旧标准版版本 */ #define SCPI_INPUT_BUFFER_LENGTH 256 #define SCPI_ERROR_QUEUE_SIZE 17 #define SCPI_IDN1 "MANUFACTURE"