I want to measure voltage with the mcculw python library. Whenever I try to use the functions a_in() / v_in() to measure voltage inputs, passing the input channels as variables, the code just runs endlessly without displaying the measurement. Here I provide an example in which I re-wrote the function supported_ranges and it gets stuck when getting to the a_in() function when using the valid input voltage channels.
Days ago I was able to send a voltage through an output channel and read it through an input one, but now I can't even read. If I run the file v_in.py it will run endlessly without getting to the end of the code, being stuck in the a_in() function.