daqhats icon indicating copy to clipboard operation
daqhats copied to clipboard

Throw warning when not yet configured

Open redfast00 opened this issue 1 year ago • 0 comments

If you don't follow the instructions and only install the Python library, without installing the other software, you can do the following:

>>> from daqhats import hat_list
>>> hat_list()
[]

If you do follow the instructions and install the other software (https://github.com/mccdaq/daqhats.git and sudo ./install.sh) first, you do get the correct board list.

I think it could be useful to throw an exception if the hal_list function is executed when the daqhats_read_eeproms command has never been executed.

redfast00 avatar Sep 23 '24 09:09 redfast00