 |
Visual C#.NET Multi-Threaded Forms Project
(Windows) |
MCC technical support has created a Visual C#.NET multi-threaded
forms project that supports one-or-more ASCII-interface I2C Bus host
adapters. This project includes a Visual Studio 2005 solution file,
project files, source code file, and ASCII iPort Class Library assembly
files that can be use by programmers as the basis for custom applications.
Supported MCC ASCII-interface I2C Bus Adapters:
Project Features:
-
Windows form user interface.
-
Thread synchronization.
-
Global event handler.
-
Includes error handling.
Project Requirements:
-
A supported MCC ASCII-interface I2C Bus adapter (See Above).
-
Visual Studio 2005 or newer, Express, Standard, or Professional Edition.
-
MS .NET version 2 or greater (included with Visual Studio 2005).
Project Installation and Use Instructions:
-
Download the sample project (CSASCII03.ZIP,
116KB).
-
This project is distributed in compressed form (.ZIP). You will need to
"extract", or “unzip” the compressed files into a new project folder using
Windows Explorer (Select File, Right Click, Extract All), PKUnzip, or other
compressed file extraction software.
-
Run Visual Studio 2005. Within Visual Studio click "File | Open Project…,"
then Browse to the new project folder.
-
Within the project folder you will see a file with the .sln extension.
This is the Visual Studio 2005 “solution” file for the project. Select
this file and click “Open”.
-
Once the project opens, you can view the source code by double clicking
on the source filename in the “solution explorer” window on the right hand
side of the screen. You will also see a reference to the ASCIIiPortLib.dll
Class Library file. This library file provides constructors, methods, properties,
and events used to access the MCC ASCII-interface I2C Bus adapter.
-
In Visual Studio's main window click “Debug | Start Debugging” to start
the program.
Programmer's Reference:
Revision Report:
20-JAN-07 Initial release.
Can't find the answer to your question here? Then e-mail your question
to us at support@mcc-us.com
I2C is just a mouse click away TM