LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i2c implementation using NI-6008

Solved!
Go to solution

Hi everybody

I have a NI-6008 Low cost multifunction DAQ.

Can i use this with voltage level shifter to implement I2C protocol...

0 Kudos
Message 1 of 6
(3,028 Views)
Solution
Accepted by topic author Newbee_2

You'd need to use the bit-banging approach (i.e., you change the clock and data lines yourself) and it would be software-timed. But yeah, you could do it.

 

Your next question will be: are there any examples? There are plenty of examples on doing digital I/O that get installed with DAQmx. As for I2C implementation, the spec is available. http://en.wikipedia.org/wiki/I%C2%B2C

0 Kudos
Message 2 of 6
(3,021 Views)

Sorry but after much testing and different bit-banging approch we came to conclusion that NI-6008 is much slower device to handle I2C so we are switching to NI-845x but lots of thanks to everybody for their help....

0 Kudos
Message 3 of 6
(2,962 Views)

Is there any NI modules which contains analog measurements and digital measurements and frequency and also main I2C communication in one module???

Please give a suggesion if any third party modules also including above parameters.

0 Kudos
Message 4 of 6
(2,631 Views)

Hi vam,

 

please stop creating double/multiple posts for the very same question!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(2,622 Views)

Have you thought of using an Arduino? I haven't tried it myself yet but it has I2C capabilities built in. There is a large LV community supporting it.

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 6 of 6
(2,616 Views)