izpis_h1_title_alt

Modul za krmiljenje laboratorijskih instrumentov v programskem jeziku C
ID AŠKERC, URBAN ANTON (Author), ID Fajfar, Iztok (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (887,81 KB)
MD5: 18AC5710344CAB0B6A3CC77343B2C34F

Abstract
Pri razvoju elektronskih naprav se izvaja obsežno število meritev, s katerimi se preveri ali naprava deluje v skladu s pričakovanji. S ciljem povečanja produktivnosti se vse več meritev izvaja avtomatizirano. Pri tem je ključnega pomena zanesljivost in ponovljivost meritev. Poleg tega je pomembno doseči hiter razvoj novih avtomatiziranih meritev in omogočiti enostavno zamenjavo laboratorijskih instrumentov. Z gonilniki, ki ustrezajo specifikacijam gonilnikom IVI, lahko nove avtomatizirane meritve razvijemo brez poznavanja komunikacijskega vodila in ukazov, ki jih razume laboratorijski instrument. Za veliko število instrumentov so na voljo gonilniki zgolj za operacijski sistem Windows, prav tako vsi gonilniki niso na voljo v istem programskem jeziku. V magistrskem delu so predstavljeni osnovni načini komunikacije z laboratorijskimi instrumenti ter potek razvoja modula, ki podobno kot zgoraj omenjena rešitev, omogoča krmiljenje instrumentov brez poznavanja komunikacijskega vodila in ukazov instrumenta. Sledi opis modula, ki je razdeljen na dve plasti, kjer je z vstavljanjem odvisnosti doseženo krmiljenje različnih instrumentov preko enakega aplikacijskega programskega vmesnika. Koda je razvita na podlagi testno usmerjenega razvoja in smernic MISRA C. Prav tako so napisani testi sistemske integracije, s katerimi se potrdi delovanje celotnega modula na operacijskih sistemih Windows, Ubuntu in Raspberry Pi OS.

Language:Slovenian
Keywords:SCPI, VISA, TDD, MISRA C, krmiljenje laboratorijskih instrumentov
Work type:Master's thesis/paper
Organization:FE - Faculty of Electrical Engineering
Year:2023
PID:20.500.12556/RUL-151365 This link opens in a new window
COBISS.SI-ID:169857539 This link opens in a new window
Publication date in RUL:05.10.2023
Views:332
Downloads:23
Metadata:XML RDF-CHPDL DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:Module for Controlling Laboratory Instruments in the C Programming Language
Abstract:
The development of electronic devices includes a large number of measurements, which help confirm whether a device meets design expectations. With the goal of increased productivity, more measurements are being automated. Reliability and repeatability are key requirements of these automated measurements, which should have a short development cycle, and enable simple replacement of laboratory instruments. Automated measurements can be developed quickly without knowledge of the instrument commands and communication protocol with the use of device drivers that follow the IVI specification. Many instruments have device drivers that only support the Windows operating system, and not all device drivers are written in the same programming language. This thesis explains the basics of communication with laboratory instruments, and presents the development of our software module that, similar to the above-mentioned solution, enables instrument control without the knowledge of the instrument commands and communication protocol. Next is a description of the module, which is divided into two layers, where we achieved control of various instruments through the same application programming interface with the dependency injection. The code was written using test driven development and by following MISRA C guidelines. We also developed system integration tests, which confirm the operation of the entire module on the Windows, Ubuntu and Raspberri Pi OS.

Keywords:SCPI, VISA, TDD, MISRA C, control of laboratory instruments

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back