LabVIEWTM iPort/AI Driver Library
Part Number #202-SDKW-LV
Our LabVIEW iPort/AI Driver Library is designed to assist LabVIEW developers in integrating I2C Bus capabilities into test and control applications. This library includes a set of LabVIEW VIs (Virtual Instruments) for configuring and controlling our ASCII interface I2C Bus host adapters as a bus master or slave device. Also included with the library are several LabVIEW introductory projects to help understand basic concepts, and two full-featured LabVIEW utility programs for communicating with I2C Bus devices.
PRODUCT HIGHLIGHTS
  • Add I2C Bus Connectivity to LabVIEW Applications.
  • Perform I2C Master or Slave, Write and Read, Operations.
  • Step by Step Instructions.
  • Complete Sample Applications.
  • Compatible with our ASCII interface I2C Bus host adapters including:

Download PDF (403KB)
LabVIEW™ is the industry standard integrated development environment for test and control.  MCC’s LabVIEW™ iPort/AI Driver Library accelerates the development and deployment of systems incorporating I2C and SMBus small area networks for configuration, testing, control, security, and monitoring activities.


Sample I2C Master Transmit Sequence


 


The LabVIEW drivers are implemented as standard LabVIEW VI's, and by default are installed in the <LabVIEW>instr.lib folder. This means that the iPort VI's appear on the Functions palette in LabVIEW, and can easily be added to an application's block diagram. 

LabVIEW iPort/AI Library VI’s
Close I2C Connection (Ccmd) VI
Causes the adapter to disconnect from the I2C Bus.
Set Destination Slave Address (Dcmd) VI
Sets the I2C Bus destination slave address for subsequent Master Transmit or Master Receive messages sent by the adapter.
General Call Enable (Gcmd) VI
Enables or disables the adapter's addressed slave response to the General Call (0x00) address.
Hex Only Display (Hcmd) VI
Controls how the adapter will send master or slave receive message data to its host computer.
Set Own Slave Address (Icmd) VI
Sets the adapter's own slave address.
Byte Array to Hex-equivalent String.vi
Convert a single-dimension byte array into a compatible Hex-equivalent string.
EventHandler V01.10 VI
Monitors the host adapter serial link for responses.
String To Byte Array.vi
Convert a Hex-equivalent string into a one-dimensional byte array.
Open Connection (Ocmd) VI
Establishes the link between the host computer and the adapter.
Master Read Message (Rcmd) VI
Read the specified number of data bytes from the currently selected Destination slave address.
Reset VI
Causes the adapter to re-boot and revert to its default state.
Slave Transmit Message (Scmd) VI
Causes the adapter to write specific data bytes to the requesting I2C Bus Master Receiver device. 
Master Transmit Message (Tcmd) VI
Write the specified data bytes to the currently selected Destination slave address. 

System Requirements
Software

Windows 98/NT/2000/XP+.
LabVIEW for Windows V6.0 or later.

Hardware

RS-232 Serial or USB port available.
Supported I2C Bus host adapters:

iPort/USB (#MIIC-204, Datasheet)
iPort/AFM (#MIIC-203, Datasheet)
iPort/AI (#MIIC-202, Datasheet)
NOTE: The LabVIEW iPort/AI Driver Library supports iPort/USB and  iPort/AFM I2C Bus adapters in the adapter’s default mode.

See our Online Catalog for ordering information.

I2C is just a mouse click away TM