LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TotalPhase's Aardvark I2C adaptor with LV driver to read back register

I try to read back the uController's register using Aardvark I2C adaptor with LV 8.2. I have no problem to read back one register. But the read back is unstable when I tried read more than one registers (Sometime bounce between 0 and real value). Please see the attached VI.
 
Also, is it a way to read/write all 256 registers at once?
 
Thanks for Help
 
Ed Wong
0 Kudos
Message 1 of 4
(4,548 Views)

Hi Ed,

I was wondering - where did you get the Aardvark I2C vi's from?  They wouldn't load in your example program here.  Thanks!


Regards,
Anna M.
National Instruments
0 Kudos
Message 2 of 4
(4,511 Views)
Thanks, Anna
 
I just bought the NI-8451 to give it a try, but it is not working. I'm trying to read the register 0x32 and 0x95, it alway read back 0 and no error massager come out.
 
Please let me know what i'm doing wrong.
 
Thanks
Ed
0 Kudos
Message 3 of 4
(4,481 Views)
Hi Ed,

Have you tried using any of the I2C examples?  You can find them in the example finder, by opening Hardware Input and Output>>I2C and SPI.  Do the examples return the expected data?

Thanks,

Meghan
Applications Engineer
0 Kudos
Message 4 of 4
(4,435 Views)