Skip to content

Commit

Permalink
Adding comments to explain the existence of the error code definitions
Browse files Browse the repository at this point in the history
for the 2280S power supplies.
  • Loading branch information
texmexlab committed Aug 25, 2024
1 parent fa297e7 commit b42e7a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions socs/agents/scpi_psu/drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b42e7a1

Please sign in to comment.