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/05
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 - Possibilities, Use, Software Role in These Architectures

2.Text-oriented development environment for measurement and testing automation LabWindows CVI. Getting acquainted with the environment, creating a project, graphical interface with basic elements, automatic creation of a project Framework. Callback function.

3.LabWindows CVIs, syntactic and semantic errors, debugging, breakpoints, variable contents.

4.Advanced graphical interface elements, graph types and their operation, axes, cursors. Periodic repeating activities - timer. Front Panel Elements Attributes and their programmatical control.

5.Sharing the user interface and application into a hierarchical structure. Work with multiple panels, menus.

6. Work with data acquisition boards in LabWindows CVI, DAQmx library. Configuration of the DAQ process using attributes, synchronous collection of final sample quantities, asynchronous reading of samples, continuous data collection. Error checking.

7. Measurement instrument control from LabWindows CVI, instrument driver library. Function panel, custom tree of functions.

8.SW tools for measured data management. NI DataFinder. DIAdem view, search, analyze, and create protocols. Creating a TDMS file with appropriate properties, visualization and data analysis in DIAdem.

9.Camera systems for automation of measurement and testing. Introduction, typical deployment. Basic components of the camera system chain. Communication interfaces used. Lens features.

10.Camera systems and machine vision. Filter and lighting features.

11.Cameras and machine vision. Image sensors and image processing software.

12.Programming of measurement systems for application area of ​​automated measurement and testing.

13. Development environment for creating, debugging and editing test sequences: TestStand . Basic philosophy, structure. Benefits, automated testing systems in industrial production testing.

14. New products in automation of measurement and testing.

Computer labs:
1. Architecture of measuring systems - possibilities, use, role of software in these architectures - presentation of various concepts
2. LabWindows CVI Environment: Creating a Project and Graphic Interface, Creating a Project Framework. Call-back functions.
3. LabWindows CVI: code debugging and debugging tools
4. LabWindows CVI Environment: Working with Graphs
5. LabWindows CVI Environment: Working with Multiple Panels and Menus
6. LabWindows CVI environment: Data acquisition and analysis
7. Entering the semester project, SW performs measurement, analysis and presentation of signals. Preliminary work on the semester project.
8. Work with binary and TDMS files in LabVIEW.
9. Processing of TDMS files in DIAdem, use of TDMS file properties.
10. Work on the semester project
11. Introduction to Image Acquisition, Image Processing of a Testing Object in VBAI
12. Programming of measuring systems for optical production control. Processing image of test object in LabVIEW
13. Case study: programming of measurement system for data acquisition and analysis in time domain and frequency domain
14. Work on the semester project.

Semester project:
Design and development of software according to the CVI environment. SW performs measurement, evaluation and presentation of signals. The assignment respects the acquired skills in the CVI environment. The scope of the project is 10 hours of individual student work.
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
Credit and ExaminationCredit and Examination100 (100)51
        CreditCredit45 10
        ExaminationExamination55 15