From b42e7a12ae82f370662da0b4bbea466d76b929c4 Mon Sep 17 00:00:00 2001 From: texmexlab Date: Sun, 25 Aug 2024 16:30:03 -0500 Subject: [PATCH] Adding comments to explain the existence of the error code definitions for the 2280S power supplies. --- socs/agents/scpi_psu/drivers.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/socs/agents/scpi_psu/drivers.py b/socs/agents/scpi_psu/drivers.py index 72ade060b..94b7268f0 100644 --- a/socs/agents/scpi_psu/drivers.py +++ b/socs/agents/scpi_psu/drivers.py @@ -10,6 +10,10 @@ '9172', '9181', '9182', '9183', '9184', '9185'] TWO_CHANNEL_MODELS = ['9173', '9174'] THREE_CHANNEL_MODELS = ['2230G-30-1'] + +# error codes from 2280S devices +# part of an attempt to query devices for the number +# of supported channels UNDEFINED_HEADER = -113 HEADER_SUFFIX_OUT_OF_RANGE = -114