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.

咨询