cms-gem-daq-project / reg_utils

0 stars 9 forks source link

Bug Report: sca.py cannot reset a board if no SCA communication exists #25

Closed bdorney closed 6 years ago

bdorney commented 6 years ago

Brief summary of issue

If checkStatus(ohList) returns False the program exits:

https://github.com/cms-gem-daq-project/reg_utils/blob/95865e54c098e5c33e3dbcaeb965b117305d4778/python/reg_interface/scripts/sca.py#L93-L95

This was not caught in testing of https://github.com/cms-gem-daq-project/reg_utils/pull/22 since the SCA communication was working in all tests...

I'll try to have a fix today.

Types of issue

Expected Behavior

SCA Reset should work.

Current Behavior

If SCA communication is not successful an SCA reset is not sent correctly.

Your Environment