From 81ac4bc8c67937c36be21bacad6996fbf2f74a85 Mon Sep 17 00:00:00 2001 From: oletf <109208726+oletf@users.noreply.github.com> Date: Tue, 20 Jan 2026 17:56:01 +0100 Subject: [PATCH] hameg-hmo: RTM dialect replace `SCPI_CMD_GET_DIG_CHAN_STATE` with supported command --- src/hardware/hameg-hmo/protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/hameg-hmo/protocol.c b/src/hardware/hameg-hmo/protocol.c index f355e2c27..0f4f447fc 100644 --- a/src/hardware/hameg-hmo/protocol.c +++ b/src/hardware/hameg-hmo/protocol.c @@ -100,8 +100,8 @@ static const char *rohde_schwarz_log_not_pod_scpi_dialect[] = { [SCPI_CMD_SET_HIGH_RESOLUTION] = ":ACQ:HRES %s", [SCPI_CMD_GET_PEAK_DETECTION] = ":ACQ:PEAK?", [SCPI_CMD_SET_PEAK_DETECTION] = ":ACQ:PEAK %s", - [SCPI_CMD_GET_DIG_CHAN_STATE] = ":LOG%d:STAT?", - [SCPI_CMD_SET_DIG_CHAN_STATE] = ":LOG%d:STAT %d", + [SCPI_CMD_GET_DIG_CHAN_STATE] = ":DIG%d:PROB:ENAB?", /* (from RTM300x) Query only */ + [SCPI_CMD_SET_DIG_CHAN_STATE] = ":DIG%d:PROB:ENAB %d", /* Set not supported */ [SCPI_CMD_GET_VERTICAL_OFFSET] = ":CHAN%d:POS?", /* Might not be supported on RTB200x... */ [SCPI_CMD_GET_HORIZ_TRIGGERPOS] = ":TIM:POS?", [SCPI_CMD_SET_HORIZ_TRIGGERPOS] = ":TIM:POS %s",