Jump to content
  • 0

Failure in voltage input measurement


Braulio

Question

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. 

Captura de pantalla 2024-01-16 123250.png

Captura de pantalla 2024-01-16 123316.png

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...