I am trying to read current using the Ina219 Current Sensor. When using the Arduino IDE, I am able to use it with ease. I am having challenges with how to program it in Labview so that it can read the current and power. Any assistance would be greatly appreciated. The sensor datasheet can be found on https://www.ti.com/lit/ds/symlink/ina219.pdf
I have attached an image of the block diagram I have developed so far. I am fairly certain I need to make adjustments on the i2c write via but not sure how exactly to program it so it will read the values as needed using the default 32V input voltage sensing range value. I am targeting to measure current from 0 to 2A.