I'm developing an I2C- or SMBus-communication program in LabVIEW with my USB-8451 or USB-8452 device. But I'm getting the below error and my communication is not working.
How can I fix this? What's the meaning of this error?
Error -301742 occurred
NI-845x: The slave did not acknowledge an address+direction byte transmitted by the I2C master. If you are using ACK polling, consider increasing the timeout. Other reasons include the incorrect address set in the I2C configuration or the incorrect use of the 7-bit address. When entering an address to access a 7-bit device, do not include the direction bit. The NI-845x Basic I2C API internally sets the direction bit to the correct value, depending on the function (write or read). If your datasheet specifies the 7-bit device address as a byte, discard the direction bit (bit 0) and right-shift the byte value by one to create the 7-bit address.