Skip to main content
Skip header

Programming of Measurement Systems

* Exchange students do not have to consider this information when selecting suitable courses for an exchange stay.

Course Unit Code450-4011/01
Number of ECTS Credits Allocated5 ECTS credits
Type of Course Unit *Optional
Level of Course Unit *Second Cycle
Year of Study *First Year
Semester when the Course Unit is deliveredSummer Semester
Mode of DeliveryFace-to-face
Language of InstructionCzech
Prerequisites and Co-Requisites Course succeeds to compulsory courses of previous semester
Name of Lecturer(s)Personal IDName
BIL45prof. Ing. Petr Bilík, Ph.D.
Summary
The lectures are focused on the LabWindows CVI development environment for programming in the areas of data collection by data acquisition boards, communication with measurement instruments. Students are introduced with the structured TDMS format for storing measured data and the DIAdem measurement data processing tool. Students are acquainted with principles of optical control of industrial products, with basic components of camera system, with development environment for development of tasks of optical inspection of products.
Learning Outcomes of the Course Unit
The aim of the course is to acquaint students with the means and methodology of programming for automation of measurement and testing. The student will be able to create applications for automation of measurement and testing in the LabWindows CVI environment, evaluate general data with results of measurements and tests in DIAdem and will provide the basis of optical product inspection.
Course Contents
Lectures:
1. Trends in the development of measurement techniques, measurement systems architecture - the possibility of use, the role of software in these architectures
2. Development of user application programs to measure. Graphically oriented development environment - the structure and capacity development environment LabVIEW. Possible ways of storing the measured data (ASCII, BIN, XML, DataTypeFile, TDMS). Structured storage of technical data TDMS.
3. Software management tool of the measured data. NI DataFinder. DIAdem viewing, searching, analysis and development of protocols. Creating a TDM file with the appropriate properties, and open it in Excel, DIAdem.
4. Software tools enable the implementation of measuring systems able to edit and analyze the measured signal without programming NI SignalExpress. Function for adjusting the measured signal, functions to analyze the signal in time and frequency domain functions for statistical processing of the signal.
5. Text-oriented development environment for creating measurement systems LabWindows CVI. Principle of work environment, UIR, callback functions, timer.
6. LabWindows CVI. Measurement card in CVI, the graph in time, spectrum.
7. LabWindows CVI. Menu, work with multiple panels. Entering SP.
8. Development environment for creating, editing and debugging TestStand test sequences. The basic philosophy, structure. Advantages, applications in automated test systems in the testing of industrial production.
9. Optical control of products - NI Vision. Programming systems for measuring the optical application of production control.
10. Development environment and hardware platform for automated measurement and control systems in real time: cRIO, RT LV, LV embedded.
11. Measurement systems that produce results in time domain and frequency domain. Software support, digital oscilloscope functions, conditions for triggering, mask trigger.
12. Automated test systems based on virtual instrumentation.
13. News in the automation of measurement and testing.

Computer labs:
1. Measurement systems architecture - the possibility of use, the role of software in these architectures - the presentation of different concepts
2. Principles work in LabVIEW work with BIN and TDMS files in LabVIEW.
3. Principles work in DIAdem, use properties TDMS files.
4. Implementation of a simple system for collecting measurement data in LabVIEW SignalExpress
5. Introduction to text-oriented development environment CVI - its structure.
6. Getting the libraries in CVI-realization of simple application for collecting measurement data visualization.
7. Creating complex user interfaces in CVI.
8. Improvement work in CVI.
9. Programming measuring systems for optical control output - software support in the graphics-oriented development environment
10. Case study programming virtual measuring system for data collection and analysis in time domain
11. Case study programming virtual measuring system for data collection and analysis in the frequency domain
12. Programming of measuring systems for real-time OS in LabVIEW
13. Programming embedded systems of measurement in LabVIEW

Projects:
Case study of an automated measuring system.
Recommended or Required Reading
Required Reading:
Getting started with LabWindows/CVI, National Instruments, Austin, 2013

Getting started with DIAdem, National Instruments, Austin, 2012

NI DIAdem Data Mining, Analysis and Report Generation, National Instruments, Austin, 2012

SONKA, Milan., Vaclav. HLAVAC a Roger BOYLE. Image processing, analysis, and machine vision. 3rd ed. Toronto: Thompson Learning, c2008. ISBN 978-0-495-08252-1.

BILÍK, Petr: Měřicí systémy a jejich programování, učební text VŠB TU Ostrava, Ostrava, 2013

SONKA, Milan., Vaclav. HLAVAC a Roger BOYLE. Image processing, analysis, and machine vision. 3rd ed. Toronto: Thompson Learning, c2008. ISBN 978-0-495-08252-1.
Recommended Reading:
KHALID, Shahid F. LabWindows/CVI programming for beginners. Upper Saddle River, N.J.: Prentice Hall, 2000, xliv, 651 p. ISBN 01-301-6512-3.
DOBEŠ, Michal. Zpracování obrazu a algoritmy v C#. 1. vyd. Praha: BEN - technická literatura, 2008, 143 s. ISBN 978-80-7300-233-6.
Planned learning activities and teaching methods
Lectures, Tutorials, Project work
Assesment methods and criteria
Task TitleTask TypeMaximum Number of Points
(Act. for Subtasks)
Minimum Number of Points for Task Passing
Exercises evaluation and ExaminationCredit and Examination100 (100)51
        Exercises evaluationCredit45 (45)10
                Semestrální projektSemestral project45 10
        ExaminationExamination55 (55)15
                Write examWritten examination55 15