Jump to content
  • 0

Need help outputting values of second stacked MCC134


BrianV

Question

I am Currently using two MCC134's stacked on top of a Raspberry pi. I have the first MCC134 closest to the pi set to address 0, and the second to address 1. I am able to read values from channel 0 1 2 and 3 from the first MCC134, but not the second one. can someone please help me figure out how to read values from the second MCC134. 

tc_type = TcTypes.TYPE_E # change this to the desired thermocouple

type delay_between_reads = 1 # Seconds

channels = (0, 1, 2, 3,) try: # Get an instance of the selected hat device object.

address = 0

hat = mcc134(0)

i have attached a copy of the code that i am currently using.

MCC134CodeHelp.txt

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Ensure that both 134 boards are working at their respective addresses using the MCC DAQHATS Manager program (Raspberry->Accessories). It should list both boards and be able to read their temperatures. If you have trouble, use the read eeproms function and try again.

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