Course: Programming of Control Applications

« Back
Course title Programming of Control Applications
Course code KAM/KPRA
Organizational form of instruction Seminar
Level of course Bachelor
Year of study not specified
Semester Winter
Number of ECTS credits 6
Language of instruction Czech
Status of course Compulsory
Form of instruction Face-to-face
Work placements This is not an internship
Recommended optional programme components None
Lecturer(s)
  • Havlíček Libor, Ing. Ph.D.
Course content
Topics of lectures after weeks of semester: 1. Introduction to the subject, basic concepts of PPE theory, object, class, polymorphism, inheritance, encapsulation. 2. Creation and extinction of objects, constructors, destructors, automatic memory management. 3. Encapsulation, set and get methods. Properties in C #. Static methods, attributes and classes. 4. Expanding knowledge about exceptions? exception, such as object, exception propagation, exception class hierarchy. 5. Relationships between classes, simple inheritance, this and base operators. Inheritance vs. composing classes. 6. Basic data structures, connection list, queue, stack 7. Polymorphism, virtual methods. Multiple inheritance, interface. 8. Implementation of basic .NET framework interfaces. Structures, difference from class. 9. Events, delegates. Introduction to operator overloading. 10. WinForms I library, introduction, forms, controls I. 11. WinForms II library, controls II, dialogs 12. WinForms III library, GDI +, drawing in forms. 13. PC class interface, parallel and serial port, USB. Serial port in .NET.

Learning activities and teaching methods
Monologic (reading, lecture, briefing), Dialogic (discussion, interview, brainstorming), Methods of individual activities
  • Contact teaching - 16 hours per semester
  • Preparation for a credit (assessment) - 24 hours per semester
  • Preparation for an exam - 24 hours per semester
  • Term paper - 28 hours per semester
  • Home preparation for classes - 88 hours per semester
Learning outcomes
The aim of the course is to familiarize students with the creation of applications for data transfer and visualization between form applications of a personal computer and single-chip microcomputers of the ATmega series. Form applications with a graphic interface are created for the MS Windows operating system, in the object-oriented C# language. The software of single-chip microcomputers is created in a selected development environment. During the study of the subject, the design and implementation of selected control and measurement applications will be carried out, for cooperation with single-chip microcomputers from Microchip. This is, for example, the visualization of measured data, or the control of electronic control circuits of implemented experiments, focused on the usual tasks of technical practice. As part of the exercise, the student implements, with the support of the teacher, both the programming of form applications, as well as the design and implementation of the "firmware" of a single-chip microcomputer. With its focus, the subject thus appropriately complements the subjects "Microprocessors" and "Microprocessor Applications" of the given study program. Work on exercises is designed so that the subject develops the student's own skills. It is assumed that the equipment of the industrial automation laboratory will be used.
The student will acquire skills in creating form applications in the selected programming language, focused on measurement and control applications.
Prerequisites
Basic knowledge of algorithmization and programming is a prerequisite.

Assessment methods and criteria
Oral examination, Home assignment evaluation, Discussion

During the semester and in the final exam, the student must demonstrate an understanding of the solved problems. The specific requirements will be communicated to the students by the teacher in the first week of the semester. Active participation in exercises is required.
Recommended literature
  • NAGEL, Christian. Professional C# 2005: programujeme profesionálně. Brno: Computer Press, 2006. ISBN 80-251-1181-4.
  • PETZOLD, Charles. Programování Microsoft Windows v jazyce C#. Praha: SoftPress, 2003. ISBN 80-86497-54-2.
  • SELLS, Chris. C# a WinForms: programování formulářů Windows. Brno: Zoner Press, 2005. ISBN 80-86815-25-0.
  • VIRIUS, Miroslav. C# pro zelenáče. Neocortex, 2002. ISBN 80-86330-11-7.


Study plans that include the course
Faculty Study plan (Version) Category of Branch/Specialization Recommended year of study Recommended semester