When setting the type of slope for the edge trigger function in the hameg-hmo driver, also set the trigger type to edge because it is not necessarily configured that way and therefore such functionality might fail to work properly !
Signed-off-by: Guido Trentalancia <gu...@trentalancia.com> --- src/hardware/hameg-hmo/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -pru libsigrok-git-orig/src/hardware/hameg-hmo/protocol.c libsigrok-git-hameg-hmo-set-edge-trigger-type/src/hardware/hameg-hmo/protocol.c --- libsigrok-git-orig/src/hardware/hameg-hmo/protocol.c 2018-11-13 21:21:56.838010729 +0100 +++ libsigrok-git-hameg-hmo-set-edge-trigger-type/src/hardware/hameg-hmo/protocol.c 2018-11-15 11:48:14.321729900 +0100 @@ -45,7 +45,7 @@ static const char *hameg_scpi_dialect[] [SCPI_CMD_GET_DIG_POD_STATE] = ":POD%d:STAT?", [SCPI_CMD_SET_DIG_POD_STATE] = ":POD%d:STAT %d", [SCPI_CMD_GET_TRIGGER_SLOPE] = ":TRIG:A:EDGE:SLOP?", - [SCPI_CMD_SET_TRIGGER_SLOPE] = ":TRIG:A:EDGE:SLOP %s", + [SCPI_CMD_SET_TRIGGER_SLOPE] = ":TRIG:A:TYPE EDGE;:TRIG:A:EDGE:SLOP %s", [SCPI_CMD_GET_TRIGGER_SOURCE] = ":TRIG:A:SOUR?", [SCPI_CMD_SET_TRIGGER_SOURCE] = ":TRIG:A:SOUR %s", [SCPI_CMD_GET_DIG_CHAN_STATE] = ":LOG%d:STAT?", _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel