I am having problems getting the sensor set up and controlling TMP007 with LabVIEW.
Hardware/Software:
-NI USB-8451 I2C interface
-TMP007 temperature sensor breakout board with integrated 10k pullup resistors
-LabVIEW 2015 with Windows 7
I currently am using the NI-845x I2C API and it seems that I am able to communicate with the sensor without errors (ack, etc). I am using the NI-845x I2C write read VI, and specify the EEPROM data address (result register address specified in TMP007 datasheet), # of bytes (2 for 16 bits) and I receive 16 bits of data back. I am currently unable to figure out the following:
1. Is the data I am reading correct?
2. If it is correct, how do I convert it back to a temperature?
I think I may be missing something in the binary data collection & conversion to decimal format.
Thanks,
Mark