cms-gem-daq-project / gem-plotting-tools

Repository for GEM commissioning plotting tools
GNU General Public License v3.0
1 stars 26 forks source link

New Feature: dacAnalysis raises ValueError if one or more DACs Out of Range #215

Closed bdorney closed 5 years ago

bdorney commented 5 years ago

Description

Following discussion in GEM Electronics meeting today it was suggested by VFAT3 team that we should reject VFATs found to have one or more DAC's that would need a DAC value out of the DAC range to achieve the proper bias voltage/current.

Types of changes

The dacAnalysis function will now run to completion; but just before returning it will throw a ValueError if one or more DAC's are found to need a DAC value to achieve the correct bias voltage/current that would place the DAC out of it's range.

Motivation and Context

We need to be able to reject VFATs that have this DAC behavior; this provides an exception that can be caught by the testConnectivity.py routine to stop the procedure and warn the user.

How Has This Been Tested?

Tested but don't know of a setup where this occurs at present.

Screenshots (if appropriate):

Checklist: