Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I control an I2C device with LabVIEW?

Hello,
 
I am tryiny to control an I2C device (4 Digit LED display driver) from a LabVIEW program.  I have  the NI6008 DAQ device that I thought would be a good interface. 
 
Many Thanks
Papa Frita
0 Kudos
Message 1 of 10
(5,840 Views)
Hello Papa Frita,
The NI USB-6008 has 12 TTL digital I/O lines, so you can certainly use those for digital input or output.  I'm not aware of any VIs that have been created to handle I2C communication, so you might be on your own there. 
-Alan A.
0 Kudos
Message 2 of 10
(5,818 Views)

Dear Alan A.

Thanks

 

0 Kudos
Message 3 of 10
(5,813 Views)

Dear Alan A.

Thanks for

 

0 Kudos
Message 4 of 10
(5,813 Views)

Dear Alan A.

Thanks for the

 

0 Kudos
Message 5 of 10
(5,813 Views)

Dear Alan A.

Thanks for the info

 

0 Kudos
Message 6 of 10
(5,813 Views)

Dear Alan A.

Since I am not tooo conversant with LabVIEW, I am still at a loss as to how this could work.

Thanks all the same,

Papa Frita

0 Kudos
Message 7 of 10
(5,812 Views)

By the way I don't stutter.  I'm Just learning to use the reply function!  Thanks

 

0 Kudos
Message 8 of 10
(5,811 Views)
For programming have a look at this treat
You will find vi's to do communication in a similar way with LPT and other protokoll, however it's a good starting point to get an idea how you can do the programming
 
Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 9 of 10
(5,807 Views)
 

Hello Papa Frita,
I'd just like to point out that your device, the USB-6008, can be programmed with NI-DAQmx version 7.5.  Once you have downloaded and installed NI-DAQmx, you will have access to a ton of great LabVIEW examples (as long as you include support for LabVIEW when you install NI-DAQmx).  To get to these examples, go to Help>>Find Examples.  Then navigate to Hardware Input and Output>>DAQmx.  You might want to check out the Digital Generation and/or Digital Measurments for examples of how to perform digital I/O.
-Alan A.

0 Kudos
Message 10 of 10
(5,790 Views)