LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HELP HAVE YOU SAMPLES IN ORDER TO USE I²C BUS

I need to send and read data in an EEPROM WHITH an I²C BUS.
I'd like to know how configure this bus whith Labview.
THANKS..
0 Kudos
Message 1 of 3
(2,805 Views)
Cal-Bay Systems has an I2C board that comes with LabVIEW Drivers.

http://calbay.com/I2C_driver.htm

Good luck,

-Jim
0 Kudos
Message 2 of 3
(2,805 Views)
I2C Chip's PC-2-I2C usb/serial adaptor (http://www.i2cchip.com) just
has a simple serial ASCII interface that is like the Philips
documentation.

Most any language can use a serial/usb port.
If not you can use Realterm, which has an AciveX interface so that any
windows program can talk to the serial port.
(http://realterm.sourceforge.net)

eg to send the byte 0xF4 to a PCF8574 just send this string:

S 40 F4 P

If you didn't get it it means
[START] [Address 0x40, ie write to PCF8574] [data=0xF4] [STOP]

eg to read 1 byte from the same 8574

S 41 01 P

[START] [Address 0x41, ie read PCF8574] [Read 1 byte] [STOP]

---------

This adaptor is really intended for making cheap, fast, isolated
instrumentation. Since you are using labview, it might be up your
alley.


-------------

BTW there are aslso programs to program eeproms from the commandline
floating about on the net.

regards

Simon

http://www.i2cchip.com
0 Kudos
Message 3 of 3
(2,805 Views)