From a4cffa5e99430532bb5bbad3385b910e25025296 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周三, 26 12月 2012 23:32:34 +0800 Subject: [PATCH] Reimplement srq/control callback --- examples/common/scpi-def.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/examples/common/scpi-def.c b/examples/common/scpi-def.c index 0b9bfbd..1908484 100644 --- a/examples/common/scpi-def.c +++ b/examples/common/scpi-def.c @@ -108,6 +108,8 @@ {.pattern = "MEASure:FRESistance?", .callback = SCPI_StubQ,}, {.pattern = "MEASure:FREQuency?", .callback = SCPI_StubQ,}, {.pattern = "MEASure:PERiod?", .callback = SCPI_StubQ,}, + + {.pattern = "SYSTem:COMMunication:TCPIP:CONTROL?", .callback = SCPI_SystemCommTcpipControlQ,}, SCPI_CMD_LIST_END }; @@ -117,7 +119,8 @@ .error = SCPI_Error, .reset = SCPI_Reset, .test = SCPI_Test, - .srq = SCPI_Srq, + .control = SCPI_Control, + .flush = SCPI_Flush, }; #define SCPI_INPUT_BUFFER_LENGTH 256 -- Gitblit v1.9.1