LabVIEW iPort/AI Driver Library

202-SDKW-LV

The LabVIEW iPort/AI Driver Library is designed to assist LabVIEW developers in integrating I2C Bus capabilities into test and control applications. The library includes a set of LabVIEW VIs (Virtual Instruments) for configuring and controlling the iPort/AI I2C Bus Host Adapter 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 202-SDKW-LV

Do you want to write custom I2C Bus applications for LabVIEW?
Do you need the tools to get the job done quick and easy?

Then its time you took a look at our LabVIEW iPort/AI Driver Library

LabVIEWE is the industry standard integrated development environment for test and control. MCCs LabVIEWE driver library accelerates the development and deployment of systems incorporating I2C and SMBus small area networks for configuration, testing, control, security, and monitoring activities.

"The LabVIEWE Driver Library is designed to assist LabVIEW developers in intergrating I2C Bus capabilities into test and control applications. The library includes a set of LabVIEW VI's (Virtual Instruments) for configuring and controlling the iPort/AI I2C Bus Host Adapter as a bus master or slave device. Also included with the library are several LabVIEW introductory projects to help understand the basic concepts, and two full-featured LabVIEW utility programs for communicating with I2C Bus devices.

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 VIs

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+.
LabVIEW for Windows V6.0 or later.

Hardware

RS-232 Serial port available
iPort/AI (#MIIC-202) RS-232 to I2C Bus Host AdapterÝ orÝ iPort/AFM (#MIIC-203) RS-232 to I2C Bus Host Adapter (**See Note**)
.
NOTE: The LabVIEW library willÝ work with the iPort/AFM when operating in its default mode.
The iPort/AFM, when operating in default mode acts like an iPort/AI.

See the iPort/AI (#MIIC-202) Users Guide for adapter installation instructions.iPort/AI (#MIIC-202) RS-232 to I2C Bus Host Adapter or iPort/AFM (#MIIC-203) RS-232 to I2C Bus Host Adapter (**See Note**)


| MCC | | iPort | | iPort/AI | | iPort/AFM | | iPort/USB | | Bus Monitor | | Bus Monitor Plus |

| I2C Bus Ovr. | | LabVIEW | | Sample Prog. | | User's Guides | | FAQ | | iPort FAQ |


Page up-dated at June 04, 2007