Application of COMM Datapools for “C”-programming with logi.CAD

Идентификатор семинара VIDOSYCOMDPC
Идентификатор VT003
Тип курсов Video
Продолжительность 32 min
Целевая аудитория Developers
Цена Free of charge €

Description

This video tutorial introduces the use of openSYDE COMM Datapools when programming an application in "C". With an example, the programming of CAN communication between a controller and a temperature sensor using the openSYDE COM engine and COMM datapools is shown step by step. Code generated from openSYDE and its integration into the own application, as well as the display of variables at runtime of the application with openSYDE dashboards are demonstrated and in parallel the data traffic on the CAN bus is observed with the openSYDE CAN Monitor.

Objectives

The participant

  • Knows the required components and tools for programming an application with "C"
  • Can program CAN communication between the controller and a temperature sensor using COMM data pools based on the template application from the Target Support Package
  • Can generate code with openSYDE and integrate it into an own application
  • Can create dashboards in openSYDE and use them to display the values of received CAN messages
  • Can use the openSYDE CAN Monitor to observe the CAN messages on the CAN bus

Prerequisites

Basic knowledge of programming electronic controllers.

Programming skills in the programming language "C".

Basic knowledge of openSYDE

Course Content

  • Experimental Setup
    • Required hard- and software components
    • Creation of the openSYDE project
    • Import of the template application from the TSP
    • Examination of the structure of the template application with the logi.CAD IDE for "C”
  • Creation of the COMM data pools
    • Configuration of the CAN messages of the temperature sensor in openSYDE
    • Code generation with openSYDE
  • Programming of the openSYDE COM engine
    • Integration of the generated code
    • Initialization and start of the COM engine
    • Programming of a logic for exemplary further processing of received CAN messages
  • Display of variables
    • Programming of another datapool in the "C" project for displaying data in the dashboard
    • Creation of an openSYDE dashboard to display temperature and status of the sensor
  • Test of the application
    • Flashing of the controller
    • Operation of the dashboards in openSYDE
    • Parallel start of the openSYDE CAN Monitor and display of messages on the CAN bus

The video is available for watching on the STW YouTube Channel.

Запрос

Individual Training

Interested in a special training?

Based on our standard courses and completed with the expertise our trainers and application engineers gained in many applications, we can offer courses tailored to your know-how and requirements. No matter if you are interested in digitalitalization, automation or electrification of your mobile machine or in holistic solutions - you are always welcome to discuss with us any support we might have to enable an early market entry for you and your new products.

Request a Quote