Example Code

I2C Wizard

Code and Documents

Attachment

Here's a GUI driven application that you can use to easily create I2C Waveforms, just by specifying the Read, Write and Address parameters of the interaction. This is an especially useful tool for ensuring the physical hardware in place is functioning correctly.

GUI.PNG


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Eric-E
NI Employee (retired)
on

Hello,

I would like to ask what drivers you are using for the I2C communication data to table.vi that is refferenced. I get a screen asking for this VI. Is it custom built API in OOP? This VI is not found by simply downloading the HSDIO driver from the NI site. Can you provide more info on how to get this to make the VI work properly?

Thank you very much,

Eric

Alex.T
Active Participant
Active Participant
on

Hey Eric,

Sorry it's taken a while for me to get back to you. I'm no longer on my internship at NI so I don't check these posts as regularly as I once used to.

Oh man! This seems to be missing a ton of dependencies.What's worse is that the VI you mention is pretty much where all of the magic happens.

I've re-uploaded the folder so that all of the files you need are contained.

Also, there is a separate upload called Object Oriented ADC which I think contains these files too.


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

Contributors