Hi-Tec

Details on making WWW visualizations

User Rating: / 0
PoorBest 

The iMod platform finds a wide range of applications in distributed system as a telemetric module as well as a communication and control module. The iMod device has built-in support of communication protocols such as Modbus, Mbus, and TCP/IP.

First, the path of access to the data base must be defined, which is linked to giving its directory. The SQLite datbase on the iMod device uses a universal connection interface with the PDO database, that is why there is a reference to this interface in the definition of the database. The variable $db is assigned to the modbus.db database. The next step is to refer to the database and to read the appropriate values for selected parameters from it - in this case, for parameters for which the Description in the MainConfig.xml file has been defined as USER_LED and DI1.

By using these protocols, the module has the capability of collecting and processing information from various types of sensors and measuring instruments. This data can be accessed and controlled in different ways, but one of the most universal ways is data access from anywhere using a WWW browser.

The iMod telemetric module uses a built-in www server - Apache - with PHP and database support (SQLite and PSQL) for the purpose of giving access to data. The universality of this method of data access results from the fact that the WWW interface made by the user works with every browser and enables constant browsing of information registered by the iMod device. In order to make a simple WWW interface, one need only know the basics of the HTML and PHP languages and must know how to use databases.

iMod configuration

In order to read data using an internet browser, the iMod must first be configured correctly. For this purpose, the example1-hardware_access.xml file, found in the /mnt/mtd/iMod/config/example directory, will be used. This configuration is also the default configuration on the iMod and ensures access to the hardware resources of the device. Registration of data to the database in the iMod is active to the SQLite base by default. It is, however, possible to send a value straight from the iMod engine to a local or external PostgreSQL base.

Database

By using these protocols, the module has the capability of collecting and processing information from various types of sensors and measuring instruments. This data can be accessed and controlled in different ways, but one of the most universal ways is data access from anywhere using a WWW browser.

The second step is to create an exemplary php file that will gprs router read all parameters declared earlier and control them. All parameters defined in the configuration file are registered in the SQLite database found in the direktory. The default database contains columns corresponding to the elements that the user is able to define in iMod configuration.

PHP configuration

First, the path of access to the data base must be defined, which is linked to giving its directory. The SQLite datbase on the iMod device uses a universal connection interface with the PDO database, that is why there is a reference to this interface in the definition of the database. The variable $db is assigned to the modbus.db database. The next step is to refer to the database and to read the appropriate values for selected parameters from it - in this case, for parameters for which the Description in the MainConfig.xml file has been defined as USER_LED and DI1.


Author Articles
More From This Author
NPE je univerzalni kontrolnik zgrajen za potrebe trga avtomatike, telekomunikacije in vgrajenih sistemov. Naprave serije NPE so inovativna in produktivna platforma za sodobne sisteme telemetrije in daljinske...
NPE to uniwersalny kontroler zbudowany z myślą o potrzebach rynku automatyki, telekomunikacji i systemów wbudowanych. Urządzenia serii NPE to innowacyjna i wydajna platforma dla nowoczesnych systemów...
Az NPE egy univerzális vezérlőegység, amely az automatizálási, távközlési és a beágyazott rendszerek iparágának igényei szerint készült. Az NPE berendezések innovatív és hatékony platformok...
Informazioni di base Piattaformaautonomapronta per l'uso, collaudatainvariimpiantiin molti paesidi tutto il mondo. Progettata per scopi diautomatizzazione, telecomunicazione, videosorveglianza, monitoraggio....
Une plate-forme autonome, prête à l’emploi, appliquée avec succès dans les installations dans plusieurs pays du monde. Conçue pour répondre aux besoins de l'automatique, télécommunications,...
Related Articles
Related Articles
Are you planning for boarding any flight for the first time and mark that journey as your best air-travel experience? Then, going through all the “Best Airline Reviews” available on Internet can be...
Game of Thrones is definitely an epic innovative TV drama in America. It was being produced by “D. B. Weiss” as well as “David Benioff” and had recently been aired inside HBO about 17th Apr, 2011....
Jewelry making is a good way to express your creative thinking and also you can make beautiful pieces to enrich your style. In order to create your masterpieces, you will need some useful tools that help in...
Shopping for mattresses doesn’t have to be complicated. Fortunately some mattress stores have created websites where shoppers can research mattress brands. Each mattress brand offers different features...
There are an incredible number of software tools and services available these days. It is a growing market where new software is launched every week. Online tools journal is a place which keeps a track of all...
Latest Articles
Latest Articles
Have you been asking the following questions? • Why don’t I ever see my website in search results? • How can I get better marketing search results for my business? • What is SEO and how can a...
It is essential to recognize the importance of Social Media before we come up to a response to this query, “How do you make use of social media to benefit your website?” Social media is a broad term that...
Techniques you use for online afford you the best ways to add to your home library at reasonable prices. There is no reason not to shop for the best deal online. The competition offers the best deals with...
The process of clearing your property doesn’t need to be stressful. With the right clearance partner with you, clearance of your old possessions will be done with relative ease. Clearance agencies work with...
Imagine arriving for a business meeting at a facility where your cell phone signal is extremely low or not present at all. Such a situation would surely affect your decisions when choosing future meeting...
 


Search for articles

RSS

Member Login