12-02-2009 08:38 PM
Hello Masters of LabVIEW!
I am making a test system for a proximity sensor. I'm quite new in this HW and I2C programming that's why I have no idea what to do to solve my problem. At first, I get error -301742:
Possible reason(s):
NI-845x: The slave
did not acknowledge an address+direction byte transmitted by the I2C
master. Reasons include the incorrect address set in the I2C
configuration r 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 specfies 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.
But after I enterd the correct address, I get error -301743:
Possible reason:
NI-845x: The slave did not acknowledge a data byte transmitted by the I2C master.
Anyone there know how to approach this problem?? Please help me..
Thanks to all for your time!!
12-03-2009 06:33 AM
07-16-2014 11:40 AM
Did you ever figure this out? I am having the exact same problem. After I put in the correct address it is giving me the -301743 error.