Could you post the full code and tell me which Edison board you are using: Arduino Expansion Board or Mini-Breakout Board?
Isn't the message that comes if you do not have access rights on the bus ?
I am not sure but it looks like what <i received when I was not using root user or sudo command.
I am using Edison Arduino Expansion board. This is the screen shot of code we are using, which is template given in XDK IDE for Analog Read.
Could you run the following command and let me know what the outcome is? I want to know what image version you are using: configure_edison --version
Have you been able to work on this? I would like to know if you have been able to run the code successfully.
Please let us know which image and XDK version you are using.
Retrieving data ...