XML-tekniikoihin perustuva ajurimalli LabView-pohjaiseen testausympäristöön


Autoria(s): Mäkelä, Jukka Erik Uolevi
Data(s)

03/08/2010

03/08/2010

2010

Resumo

XML-muotoista tiedonesitystapaa hyödynnetään yhä enemmän esitettäessä rakenteellista tietoa. Tarkoituksena on antaa yleishyödyllinen ja uudelleenkäytettävä tapa jakaa yleistä tietoa erilaisten rajapintojen yli. XML-tekniikoita käytetään myös korjaamaan aiemmin tehdyissä sovellutuksissa esiintyneitä puutteita ja parantamaan niiden toimintaa. Tässä diplomityössä esitellään Telestelle LabView-pohjaiseen testaussovellusympäristöön suunniteltava ajuriuudistus. Työssä paranneltiin aiempaa ajurimallia soveltamalla siihen XML-tekniikoita hyödyntäviä toimintoja. Tarkoituksena oli vähentää testaussovelluskehityksessä vaadittavaa ohjelmointityötä korvaamalla sovelluksiin kovakoodatut ominaisuudet XML-pohjaisilla konfiguraatiotiedostoilla. Järjestelmän pohjana on yleiskäyttöinen ajuri, joka käyttää Telesten omaa EMS-protokollaa kommunikoinnissaan testattavien tuotteiden kanssa. Ajurimalli käyttää XML-pohjaisia konfiguraatiotiedostoja määrittelemään testattavien tuotteiden ominaisuuksia. XML-skeematiedostoilla esitetään ajurin käyttämän kommunikaatioprotokollan viestityypit ja niiden rakenteet. Työn tuloksena onnistuttiin luomaan uudenlainen XML-tekniikoita hyödyntävä ajurimalli. Yhteen yhteiseen ajuriin perustuva malli yhdenmukaistaa testaussovelluksien toteuttamista ja vähentää tarvittavaa ohjelmointityötä. Ajurin käyttöä helpotettiin toteuttamalla testaussovelluksien kehitysympäristöön erityinen editori, jolla voidaan helposti luoda ajuria käyttäviä toimintoja.

XML-based format is more commonly utilized to represent structured data. The aim is to give reusable and compatible way to share common data over different interfaces. Many XML-technologies based solutions have been created for existing applications to fix their known fouls and improve their overall functionality. This master’s thesis introduces a driver development process for Teleste’s Lab-View-based testing software environment. This thesis improves the earlier driver model by applying XML-techniques utilizing functions to it. The purpose was to reduce the amount of programming work needed in testing software’s develop-ment by replacing hardcoded properties with XML-based configuration files. The core of the system is broadly utilized driver that communicates with Teleste manufactured devices by using Teleste’s own EMS-protocol. Driver model uses XML-based configuration files to define the differences in the properties of the tested products. XML-schema files are used to represent EMS-protocol’s message types and packet formations to the driver. The result of this thesis was the new kind of XML-based techniques utilizing driver model. To one shared driver based model uniforms the creation of the testing applications by reducing additional programming work. In the testing software’s development environment the usage of the driver was eased by developing a special editor, which can be used to create driver based functions.

Identificador

http://www.doria.fi/handle/10024/63253

URN:NBN:fi-fe201006041967

Idioma(s)

fi

Palavras-Chave #ajurimalli #XML-schema #XML-skeema #XML #TestStand #LabView #Driver model
Tipo

Master's thesis

Diplomityö