Search

Details on making WWW visualizations

User Rating: / 22
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
If you are seeking assistance in the filing of disability benefits, then your legal representative will go over your medical condition to see if it meets the criteria for a disability. Certain...
Maybe you have recently undergone a good audiometric check with a report of which shows that it's period that you simply start have on a device? In the event this really is the first time experience, the task...
Experts at Florida Website Design and other specialists should help clients clarify certain misconceptions regarding search engine optimization and what it can do for them. Most clients think that even with...
Get The Most Out Of Your Home: If you're like most of us, you've probably got space available in your home that you can do much more with than you currently do. The key? Think outside the box. If a...
Nice to meet you all friends. Today I have useful information to share with you. Many people need to know about good beat making software for PC and MAC you do not worry in this case because I will give you...
Latest Articles
Latest Articles
Pelvic warts are by far the most common type of partner-transmitted disease, affecting men and women alike. This widespread disease is caused by certain strains of the human papillomavirus, or HPV – an...
In applications where sealings of chemically aggressive fluids at elevated temperatures are required, the use of fluorocarbon elastomers FKM is uniquely suited. The high performance physical and chemical...
The selection of the correct grade of material as well as the right design for o-rings and gaskets is of vital importance to the sealing intergrity of the final product. Rubber sealing technology primarily...
Jogging and running, whether for exercise or competition, constitute one of the most efficient ways to get in shape, trim off extra weight, and build endurance. There is no question that there are multiple...
Over the last several years, more and more men have been jumping on the bandwagon when it comes to trimming the jungle below the belt. This phenomenon may have been inspired in part by the adult film industry,...
 


Member Login

RSS