Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69758

TCA9548A Multiple Addresses Issue

$
0
0

Hey guys. I've only used labview for about 2 months so please bear with me if it is something simple I overlooked. I'm trying to get 8 Sensiron SHTW2 through a TCA9548A multiplexer using the I2C bus on a NI USB-8452. All the sensors have the same address (0x70) I'm just cycling through the multiplexer addresses (Decimal values: 112-119 to indicate sensor 0-7) I've attached the code for reading the sensor/multiplexer. The data screenshots are from my Main VI.

Kevin1701_0-1581086160547.png

When I have a sensor isolated without the multiplexer and remove the section of code labeled "Address Multiplexer" the code works fine.

Kevin1701_2-1581087213099.png

When I attach the multiplexer and try to address individual sensors I start getting the same data for each sensor repeated every second.

Kevin1701_1-1581086601249.png

 

Thanks in advance! These forums have helped me a ton these last two months.


Viewing all articles
Browse latest Browse all 69758

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>