I have myRIO-1900 and Devantech SRF08 UltraSonic Ranger (http://coecsl.ece.illinois.edu/ge423/devantechsrf08ultrasonicranger.pdf)
I try to read distance via I2c (expressvi), here is code:
All "write" codes return error (-363011).
How to get data from sensor?
Is address 0 correct?
I tryed connect all adresses 0..127, but no error only for address 0.
Solved! Go to Solution.
Error -363011 corresponds to the following message: " A No Acknowledge (NAK) bit was received from the slave device after the last address transmission."
Have you seen the following thread? It seems to walk through the troubleshooting process for this error:
and provides the following solution:
"One of the unused connections in my circuit is called Vi/o(I think. I'm doing this by memory). This is there because the breakout board(by SparkFun) this chip is on separates the supply voltage into Vdd and Vi/o. Once I connected 5VDC to Vi/o as well as Vdd I was able to communicate with the device, including writing and reading to/from registers."
Take a look at this thread, try the recommended steps, and let us know if the behavior changes!
I had similar problem at using I2C LCD module(ACM1602), but solved.
by connecting 'True' into 'Keep bus BUSY' at low-level function 'Write.vi'