LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Read magnetic sensor data via I2C

Hello All,

 

I hope you are doing fine.

 

In my previous post, I asked about how to receive data from a magnetic sensor via I2C in LabVIEW, which was resolved thanks to the member of this discussion group.

As am currently new to LabView software, I will be requiring some of the support from this group to help me how can I connect two sensors to Myrio.

I was able to connect these sensors (TLV-493D) via I2C in Arduino and also received data but somehow having a problem in LabView. 

According to the sensor user, manual page 22 manual attached. When 1 sensor is on with the master board (Arduino/Myrio) its address becomes 0x5E and when other is turned on after 200 micro sec its address automatically changes to 0X1F. (https://www.infineon.com/dgdl/Infineon-TLV493D-A1B6_3DMagnetic-UM-v01_03-EN.pdf?fileId=5546d46261d5e...).

I have also attached the snapshot of my VI.

Thanks,

Moid Khan

 

 

0 Kudos
Message 1 of 3
(1,869 Views)

Hello MoidKhan,

 

What's exactly your question?

0 Kudos
Message 2 of 3
(1,825 Views)

Hello KRojas,

 My question is when I connect single sensor, MyRio picks up that sensor's bit address i.e. 0X5E, But when I connect the second sensor it doesn't pick up its Bit address value i.e. 0X1F.

 

Regards,

M.Moid

0 Kudos
Message 3 of 3
(1,821 Views)