Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing with I2C protocol

Hello,

 

I am using Labview 2015 with NI USB-8451 to communcate with a  Bosch BMP280 sensor and I2C protocol. I have cheked out the General I2C Write labview example to start with. However I don't understand where to enter what I need to wright.

 

Would anybody know?

 

Thanks.

 

Best regards,

 

user79                                                

Download All
0 Kudos
Message 1 of 2
(3,223 Views)

Hello,

 

What do you need to write? If you are talking about data to write, you need to replace the "For loop" that is connected to the indicator "Data Bytes Written" to send your own data.

I have to pay attention how your sensor works to send the data in the right format. If I'm correct this example is specially made to programm an EEPROM (done in CreateWriteCluster.vi), so you need to know the size

of the page inside the EEPROM

Paolo_P
Certified TestStand Architect
Certified LabVIEW Architect
National Instruments France

0 Kudos
Message 2 of 2
(3,195 Views)