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
EK-5209-5 Evaluation Kit User’s Guide A-27
Example API Code
Example API Code
Millennial Net provides as part of the evaluation kit, several example API applications. This
section examines in detail one of the API examples, ListDevicesVC7, including the code it uses.
ListDevicesVC7 provides a list of all detected network nodes (i-Bean Gateway, i-Bean Router(s),
and i-Bean Endpoint(s)).
ListDevicesVC7 Example
To run the ListDevicesVC7 example (see Figure 2.):
1. From the Windows taskbar, select the following to open the Examples window:
Start>All Programs>iB-5209>API Examples
2. From the Examples window, select ListDevicesVC7. The command window opens and
displays the list of detected network nodes.
Proceed to “ListDevicesVC7 Code” to view the code used in this example.
Figure A-2. API Example: ListDevicesVC7
Note:
Be sure that iB-5209 Network Monitor is running before executing the following
procedure (see ’Launching iB-5209 Network Monitor’ on page 2-12).
Select Start>All Programs>iB-5209>API Examples
1
Select ListDevicesVC7
2