User Manual
Table Of Contents
- About This Guide
- Introduction
- Kit Installation
- iB-5209 Network Monitor Operations
- iB-5209 Network Monitor Overview
- Setting Thread Priority
- Configuring a Node’s Operation
- Using Watch function to display current I/O information
- Configuring Sample Interval of Single Node
- Configuring Sample Interval of all Network Nodes
- Configuring Digital I/O Operation
- Configuring UART Operation
- Configuring AD (analog-to-digital) Converter Operation
- Configuring RS-232 Operation (RT-5209 only)
- Configuring RS-485 Operation (RT-5209 only)
- Labeling i-Bean Endpoint or i-Bean Router
- Creating an Event Log File
- Configure Persistence Attributes
- Configure Serial and ADC Data Formats
- Select Com Port on Host PC
- View Monitor Statistics
- View Contents of Event Log File
- Enable Multiple Capture
- API Functions
- Sample Application
A-2 EK-5209-5 Evaluation Kit User’s Guide
iB-5209 API Overview
The iBeanAPI sub-directory contains five sub-directories which hold the API related files,
including header files, dll and library files, and various compiled examples along with their
source code listings. Figure A-1 is a representation of the directory structure.
Figure A-1. iBeanAPI directories
The contents of each directory is described below.
bin Directory:
This sub-directory contains iMDLL5k.dll file required for running API related applications.
This dll file is compiled with Microsoft Visual Studio .Net edition therefore only supports
Microsoft Visual C++ programming conventions.
Examples Directory:
This sub-directory contains iMDLL5k.dll file along with pre-compiled API example
executables. These executables are compiled with Microsoft Visual Studio .Net edition and
are designed to run under Windows XP and Windows 2000. The source code along with
sample Microsoft Visual Studio .Net solution file for these example applications can be
found in the iBeanAPI/Src sub-directory. Here is a brief description of the API example
applications:
– ListDevicesVC7.exe: This is a console based application which lists current online
devices. For a detailed look at this example and its code, see ’Example API Code’ on
page A-27.
– ReadSerialVC7.exe: This is a console based application which reads serial data
received from any online device on the network that has serial interface enabled.
– SetSamplingVC7.exe: This is a console based application which changes the
sampling interval of the online devices.
To access the different API examples available in the Examples directory, select the
following:
Start>All Programs>iB-5209>API Examples
Include Directory:
This sub-directory contains the iBeanAPI header files required to build any API based
application.
Lib Directory:
This sub-directory contains the iMDLL5k.lib file required to compile any API based
applications.