User Manual
Table Of Contents
- RK-5409-5 Reference Kit for 916 MHz MeshScape™ Systems
- Contents
- About This Guide
- 1: Introduction
- 2: Installing the MeshScape System
- 3: Running MeshScape Network Monitor
- MeshScape Network Monitor Overview
- Configuring a Node’s Operation
- 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 (MN-5409 only)
- Configuring RS-485 Operation (MN-5409 only)
- Using Watch Function to Display Configuration Information
- Labeling an End Node or Mesh Node
- Configuring Persistence Attributes
- Selecting a Com Port on the Host PC
- Configuring Serial and ADC Data Formats
- Turning Event Tracking On/Off
- Broadcasting Data to All Nodes.
- Creating an Event Log File
- Viewing the Contents of an Event Log File
- Viewing MeshScape Statistics
- 4: Using the MeshScape API
- A: Sample Application
- B: Performing Firmware Upgrades and Configuring Device IDs
- Glossary
- Index
4-42 Millennial Net
Using the MeshScape API
Example API Code
Millennial Net provides as part of the reference 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 (MeshGate, Mesh Node(s), and End
Node(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>MeshScape>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 MeshScape Network Monitor is running before executing the following
procedure.
Select Start>All Programs>MeshScape>API Examples
1
Select ListDevicesVC7
2