Please! Find a C Language Programming question in Linux

Source: Internet
Author: User
Please! For a Linux system C Language Programming question-General Linux technology-Linux programming and kernel information, see the following for details. Please! Which of the following experts will help you? thank you!
The questions are as follows:
In an industrial control system, the AD module collects the liquid level data in the electrolytic cell. The data collection cycle is selected based on the actual situation. for example, the processing time of the AD module is 200us, the sampling period can also be us. After the collected liquid level data is calculated and processed, the results are displayed on the LCD and refreshed according to a certain period of time. At the same time, if the collected liquid level data reaches a certain upper or lower limit, an audible/visual alarm will be triggered, that is, a buzzer will be pushed, and the LED indicator will flash.
This design first analyzes multiple concurrent tasks in the preceding embedded application system, and designs the simulation functions of each task, the focus is to use the knowledge of the operating system to analyze and design the communication functions between multiple tasks. Secondly, based on the designed functions, the C programming language is used to debug and test the functions in the Linux operating system environment.
Basic requirements:
(1) Do I need to use multi-task methods in the analysis program? Which of the following concurrent tasks are described? Description of producer and consumer information for communications between multiple tasks and related data.
(2) select an appropriate communication mechanism for inter-task communication;
(3) multi-task programs are implemented using processes or threads;
(4) The final program is a simulated program. Therefore, the peripheral functions in the system, such as AD data collection, LCD graphic display, buzzer alarm, LED flashing, and other actual data processing functions, simulation is required;
(5) the program should be able to display or print the changes of relevant data during the running process, so as to observe the running process of each task;
(6) The operating system is Linux and the development language is C.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.