LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

example PC to i2c with max232

Hallo Labview newsgroup,

I'm looking for a example that uses labview and a home made adapter voor I2C.  Like the example from ad5207 but  not with a LPT poort becase I dont have a LPT port on my laptop.

I use the NI labview 7.0 student edition

I2C to rs232 adapter




0 Kudos
Message 1 of 2
(11,784 Views)
I doubt you'll find an example specific to this circuit since it's a custom design. Just by looking at it seems you need to control/get state of the RTS, DSR, DTR, and CTS lines. You can do so using VISA property nodes as shown below:

You will in essence need to toggle the lines to generate the clock and data line transitions. I suppose wherever you got the circuit there probably is some code (most likely in C) that you can take a look at to see the right sequence. You might even be able to get into a DLL that you can call from LabVIEW.

If you haven't looked at it yet, you should take a look at the I2C spec.
0 Kudos
Message 2 of 2
(11,757 Views)