06-30-2011 10:16 AM
Have anyone used the aardvark to read i2c registers that can help me? The problem i have right now is I don't know how to select the particular register address to read on the DUT (not slave address). Someone wrote a program using VB which allows you to select the register address to read from which then will return the bits in hex. When I use this problem THEN run my vi to read, it'll return the correct bits but it's only because the VB program already points to the address I selected. From what i understand, I am missing the part where you point to the register address in the labview vi.
Hopefully what I wrote makes sense, thanks for any help.
07-05-2011 09:28 AM
You did not indicate what device you are trying to talk to. Typically you need to send a read command to the device telling it what register you want to read. Then you follow up with the read. If your device works this way, then you're missing the I2C Write that sends this "return to me the value of address xxxx".