Echelon Corporation
Search Downloads How To Buy
 

i.LON 100 Code Examples

File Name: log2sql.zip
Uploading an i.LON 100 data log and writing the contents to SQL server is easy. This project provides an example of the basic steps. To run this on your machine you will need an installation of Visual Studio .NET (the program is written in VB.NET) and access to a Microsoft SQL Server database.

File Name: log2access.zip
Uploading an i.LON 100 data log and writing the contents to an Access database is easy. This project provides an example of the basic steps. To run this on your machine you will need an installation of Visual Studio .NET (the program is written in VB.NET) and access to a Microsoft Access database.

File Name: ilon100extraexamples.zip
FTP all four of these files to a directory on your i.LON 100 called "/web/forms/examples" (You may have to create the examples directory).

  • index.htm - home page that leads to the other examples.
  • inout.htm - shows status of I/O.
  • jscriptsoap.htm - allows you to send/receive SOAP requests from a web page (very low level tool).
  • nvTable.htm - lists all NVs declared on the i.LON 100.

DataServer Read/Write JavaScript sample for WSDL 1.1/3.0: JavaScrp R/W.zip
This is the JavaScript sample code to show how to make SOAP calls and use DataServer functions to read and write values from/to data points. The sample includes the code using WSDL version 1.1 as well as 3.0.

Visual Basic .NET multiple point Read/Write: SOAPVB MultiPoint.zip
A Visual Basic .NET Windows based application sample, showing how to read and write to/from multiple data points on the i.LON 100. WSDL 3.0 based SOAP functions such as DataServer_List, DataServer_Read, and DataServer_Write are used in this example.

File Name : VCSoap_example.ZIP
This example shows how to write a VC++ program that uses SOAP to read and write NVs on an i.LON 100.

AJAX slider sample: JavaScrpt Slider.zip
This AJAX code sample illustrates how to write a slider control in JavaScript. This slider can be used in your custom web pages to control data point values on the i.LON 100.

File Name: iLon100CsharpExample.zip
C# example (and video demo) that illustrates using both DataServer and DataPoint related functions.

  • The i.LON 100 contains a powerful data server that allows LonWorks(r) network variable information to be displayed in web pages or exposed via the i.LON 100's SOAP/XML Web Services interface. DataPointRead() is suitable for reading single point values on an infrequent basis. DataServerRead() should be used when reading more than one data point. While this interface is lower performance than the i.LON 100's built-in RNI interface, it can be very useful in systems where XML is the preferred message format.

File Name: trendgraph.zip
The factory default web pages provide access to data log information in a table format. This "How To" shows how to display that same data using the Microsoft Office chart control that is installed as part of most Microsoft Office. (The chart control is the same control used to create charts in Excel)