From 12ea397ccff846e8c1094e1c4076b7004f6961e4 Mon Sep 17 00:00:00 2001 From: kuwoyuki Date: Tue, 16 Dec 2025 19:29:01 +0600 Subject: [PATCH] fix --- sensgw/protocols/prologix.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sensgw/protocols/prologix.py b/sensgw/protocols/prologix.py index 2ee7256..a099f20 100644 --- a/sensgw/protocols/prologix.py +++ b/sensgw/protocols/prologix.py @@ -61,8 +61,8 @@ class PrologixEndpointLoop: def _keithley2000_init_cmds(self, dev_meta: dict[str, Any]) -> list[str]: default_cmds = [ - # turn off VFD - ":DISP:ENAB OFF", + "*CLS", + ":INIT:CONT OFF;:ABORT", # DC voltage config ':SENS:FUNC "VOLT:DC"', ":SENS:VOLT:DC:RANG 10", # fixed 10 V range @@ -71,6 +71,8 @@ class PrologixEndpointLoop: # offset drift? ":SYST:AZER:STAT ON", ":TRIG:SOUR IMM", + # turn off VFD + ":DISP:ENAB OFF", ] extra = dev_meta.get("init_cmds")