mtiggelman / SPI-rack

Python drivers for the QuTech SPI-rack
http://qtwork.tudelft.nl/~mtiggelman/
MIT License
5 stars 8 forks source link

no error message for min or max values #14

Closed dpfranke closed 6 years ago

dpfranke commented 6 years ago

Setting, eg, a positive DAC to 0 results in the message "Voltage too low for set span, DAC set to max value", which is imho not necessary and can be annoying. Maybe changing the first if statement (line 260 and 265) to just > and < works as well, i didn't look at it in details

dpfranke commented 6 years ago

@eendebakpt @mtiggelman

peendebak commented 6 years ago

Makes sense to me.

@mtiggelman @dpfranke