Jump to content
  • 0

USB-2416-4AO Thermocouple Support for python


smann

Question

I am using this file to detect thermocouple readings but the channel input 0 is not giving correct voltage/thermocouple. Below this is the output from channel. Any idea why both python  has not given consistent voltage readings from the thermocouple. My instacal is working fine showing room temperature consistently. 

a_in_scan_file_2416.py scan_data.csv

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

If you want to measure a thermocouple, place the channel in thermocouple mode and assign a thermocouple type. I've changed your program to have a separate function to configure a channel for voltage and another for temperature. Pay attention to the input mode. Thermocouples must use differential mode, whereas voltage inputs can be differential or single-ended. Thermocouple must also use the ADDATERATE = 60 to reject 60 Hz noise from the power grid.

a_in_scan_file_2416_Rev2.py

Link to comment
Share on other sites

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...