ASCII iPort .NET Class Library Reference (V2.4)

(C) 2016 MCC (Micro Computer Control Corporation)
 
The ASCIIiPortLib class library provides methods, properties, events, and enumerations that support the development of Microsoft Visual Studio 2005+ .NET or National Instruments LabVIEW V7+ applications for I2C Bus communications. The library reference and executable files were created by the MCC Technical Support team, are owned solely by MCC, and are made available on a non-exclusive, royalty-free, basis for use with MCC I2C Bus host adapters.
Supported MCC I2C Bus Adapters:

Supported MS.NET Languages: Supported Microsoft Development Tools: Project Requirements: Other Supported Development Tools: Class Library Information: How to Install and Use This Library (Visual Studio):
  1. Review and accept the MCC ASCII iPort .NET Class Library License Agreement.
  2. Download the compressed Library File: ASCIIiPortLib_V2_4.ZIP.
  3. Extract Compressed Files (ASCIIiPortLib.DLL and ASCIIiPortLib.XLM) with Windows Explorer, PKunZip, or other extraction software.
  4. Run Microsoft Visual Studio 2005+ and Create a New Project (Windows, Console,...).
  5. Add Library Reference to the Visual Studio 2005+ project (Project | Add Reference...)
  6. Browse and select ASCIIiPortLib.DLL (extracted in step 3 above).
  7. Add an instance variable to source code (Example: Private iPort As MCC.iPort.ASCII) (See Samples Below).
  8. Create adapter instance in source code (Example:  iPort = New MCC.iPort.ASCII).
  9. Add source code with references to library methods, properties, and events (Open, MasterTx, Close, ...).
  10. Save, build, run, test, and modify application source code as required.
How to Install and Use This Library (LabVIEW):
  1. Review and accept the MCC ASCII iPort .NET Class Library License Agreement.
  2. Download the compressed Library File: ASCIIiPortLib_V2_4.ZIP.
  3. Extract Compressed Files (ASCIIiPortLib.DLL) with Windows Explorer, PKunZip, or other extraction software.
  4. Run National Instrument LabVIEW V7+ and Create a New VI, or use the sample provided.
  5. Add a LabVIEW Construction Node to create an I2C Bus Adapter object Reference (See Sample VI for details).
  6. Connect the I2C Bus Adapter Reference to Library Methods, Properties, and Events.
  7. Save, run, test, and modify application wiring diagram as required.
Release History



The following tables list the class members exposed by the MCC.iPort.ASCII Class Library.