虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

汽车<b>功能安全</b>

  • 学生成绩管理

    #include<stdio.h> #include<windows.h> int xuanxiang; int studentcount; int banjihao[100]; int xueqihao[100][10]; char xm[100][100]; int xuehao[100][10]; int score[100][3]; int yuwen; int shuxue[000]; int yingyu[100]; int c[100]; int p; char x[1000][100]="",y[100][100]="";/*x学院 y专业 z班级*/  int z[100];  main() { void input(); void inputsc(); void alter(); void scbybannji(); printf("--------学生成绩管理-----\n"); printf("请按相应数字键来实现相应功能\n"); printf("1.录入学生信息   2.录入学生成绩       3.修改学生成绩\n"); printf("4.查询学生成绩   5.不及格科目及名单   6.按班级输出学生成绩单\n"); printf("请输入你要实现的功能所对应的数字:"); scanf("%d",&xuanxiang); system("cls"); getchar(); switch (xuanxiang) { case 1:input(); case 2:inputsc(); case 3:alter(); /*case 4:select score(); case 5:bujigekemujimingdan();*/ case 6:scbybanji; } } void input() { int i; printf("请输入你的学院名称:"); gets(x); printf("请输入你的专业名称:"); gets(y); printf("请输入你的班级号:"); scanf("%d",&z); printf("请输入你们一个班有几个人:"); scanf("%d",&p); system("cls"); for(i=0;i<p;i++) { printf("请输入第%d个学生的学号:",i+1); scanf("%d",xuehao[i]); getchar(); printf("请输入第%d个学生的姓名:",i+1); gets(xm[i]); system("cls"); } printf("您已经录入完毕您的班级所有学生的信息!\n"); printf("您的班级为%s%s%s\n",x,y,z); /*alter(p);*/ } void inputsc() { int i; for(i=0;i<p;i++) { printf("\n"); printf("--------------------------------------------------------------------------------\n\n"); printf("\t\t\t\t录入学生的成绩\n\n\n"); printf("--------------------------------------------------------------------------------\n\n"); printf("\t\t\t\t%s\n",xm[i]); printf("\n"); printf("\t\t\t\t数学:"); scanf("%d",&shuxue[i]); printf("\n"); getchar(); printf("\t\t\t\t英语:"); scanf("%d",&yingyu[i]); printf("\n"); getchar(); printf("\t\t\t\tc语言:"); scanf("%d",&c[i]); system("cls"); } } void alter() { int i;/*循环变量*/ int m[10000];/*要查询的学号*/ int b;/*修改后的成绩*/ char kemu[20]=""; printf("请输入你要修改的学生的学号"); scanf("%d",&m); for (i=0;i<p;i++) { if (m==xuehao[i]) { printf("%s的数学成绩为%d,英语成绩为%d,c语言成绩为%d,xm[i],shuxue[i],yingyu[i],c[i]");  printf("请输入你想修改的科目");} } gets(kemu); getchar(); if (kemu=="数学"); { scanf("%d",&b); shuxue[i]=b;} if (kemu=="英语"); { scanf("%d",&b); yingyu[i]=b;} if (kemu=="c语言"); { scanf("%d",&b); c[i]=b; } printf("%s的数学成绩为%d,英语成绩为%d,c语言成绩为%d,xm[i],shuxue[i],yingyu[i],c[i]"); } void scbybannji() { int i; char zyname[20]; int bjnumber; printf("请输入你的专业名称"); scanf("%s",&zyname); printf("请输入你的班级号"); scanf("%d",&bjnumber); for (i=0;i<p;i++) { if (zyname==y[i]); if (bjnumber==z[i]); printf("专业名称%s班级号%d数学成绩%d英语成绩%dc语言成绩%d,y[i],z[i],shuxue[i],yingyu[i],c[i]"); } }

    标签: c语言

    上传时间: 2018-06-08

    上传用户:2369043090

  • 单片机工具集

    用于开发单片机的!!!超级单片机开发工具!!!   单片机开发过程中用到的多功能工具,包括热敏电阻RT值--HEX数据转换;3种LED编码;色环电阻计算器;HEX/BIN 文件互相转换;eeprom数据到C/ASM源码转换;CRC校验生成;串口调试,带简单而实用的数据分析功能;串口/并口通讯监视等功能. 用C++ Builder开发,无须安装,直接运行,不对注册表进行操作。纯绿色软件。 详细说明: 1、RT转换:支持两种电路,8/10位转换精度,生成C/ASM源代码格式的数据,可手工输入数据或从文件中读取,输入的数据可以保存到文件中。文件格式为逗号分隔符: 温度,阻值 2、LED编码信息:可以支持 7段/14段/16段 LED,支持 C/ASM 语法,可生成 4/8 位编码,4位编码主要用于某些 LCD 驱动芯片。其中 7  段码包括:0 -- F (Hex) 14 段码包括:A -- Z, 0 -- F 16 段码包括:A -- Z, 0 -- F     编码方案可以保存供将来使用。     使用方法请点帮助。 3、色环电阻计算器功能。 4、HEX/BIN 文件相互转换;    HEX/BIN 转换成 C/ASM 源代码格式,适用于eeprom数据等处理。    加入CRC校验码生成功能。其中生成BIN文件时自动生成校验码,Get CRC 可生成任意文件的CRC码。    另外还有相关知识、资料等。 5、串口调试具有 a. 基本通讯功能; b. 数据分析功能,可自定义通讯数据中的变量,包括变量名、变量类型(长度),显示方式等; 内存映射功能中自定义变量的起始地址即内存起始地址,可自定义; 由map文件自动读取内存变量(因条件所限,目前只支持由 ImageCraft C(ICC) 编译器产生的map文件,欢迎提供其他编译器的map文件样本); 可自定义内存块的起始/结束标志; 历史数据保存功能; c. 交互式通讯, 主发时可自定义多命令自动循环发送; 从发时可定义接收到相应命令后的应答数据并自动应答; 6、串口监视功能 目前具有本功能的多为共享软件,本软件中没有任何限制。 实时监视串口操作而不占用串口资源,可保存历史数据,2k下测试通过,98下使用捕捉时可能会有点问题,没有进行调试。 并口监视应该可以使用,没有调试。 各种工具

    标签: 单片机

    上传时间: 2019-05-27

    上传用户:小爱心早餐

  • GBT 20438.3-2017(IEC 61508-3-2010) 电气 电子 可编程电子安全相关

    GBT 20438.3-2017(IEC 61508-3-2010) 电气 电子 可编程电子安全相关系统的功能安全 第3部分:软件要求

    标签: 电气 电子

    上传时间: 2022-04-12

    上传用户:

  • GBT 20438.2-2017(IEC 61508-2-2010) 电气 电子 可编程电子安全相关

    GBT 20438.2-2017(IEC 61508-2-2010) 电气 电子 可编程电子安全相关系统的功能安全 第2部分:电气 电子 可编程电子安全相关系统的要求

    标签: 电气 电子

    上传时间: 2022-04-12

    上传用户:默默

  • GBT 20438.1-2017(IEC 61508-1-2010) 电气 电子 可编程电子安全相关

    GBT 20438.1-2017(IEC 61508-1-2010) 电气 电子 可编程电子安全相关系统的功能安全 第1部分:一般要求

    标签: 电气 电子

    上传时间: 2022-04-12

    上传用户:bluedrops

  • 基于Airoha AB1611 蓝牙sp02血氧血压心率之智能牙刷解决方案资料

    在EURO NCAP 2025 Roadmap中,规划车内儿童存在检测的需求,促使汽车制造商在未来产品设计上须提供此功能。借此帮助解决识别独自遗留在汽车中的儿童和警告驾驶员的问题,添加儿童存在检测功能可提高汽车的整体安全等级。在此, 世平兴业特别介绍以TI IWR1642 雷达单芯片为主的模组,作为车内生命探测检测的推荐方案,其产品特点如下1.其基于77GHz mmWave 射频互补金属氧化物半导体(RFCMOS)技术。调频连续波(FMCW)雷达可实现精确测量距离和相对速度。2.可提供高达4 GHz的超宽频宽,能够以高于24-GHz窄带解决方案16倍的精度感测物体和运动。3.雷达相对不受常见的环境条件的影响 如:灰尘,烟,光线….等。因为FMCW雷达传输特定信号并处理反射,它们可以在完全黑暗和明亮的日光下工作(雷达不受眩光影响)。与超声波相比,雷达通常具有更长的距离和更快的传输时间信号。 

    标签: ab1611 蓝牙 智能牙刷

    上传时间: 2022-06-04

    上传用户:

  • PrehBMS功能安全汽车电子咖啡厅

    A German-Chinese company with almost 100 years experience in automobileelectronics industry·Founded in 2004 Joyson and Preh in 1919·Working since 1988 in the automotive industry·More than 40 years experience in industrial auomationOne of the biggest merger of China and Germany,company in automotive industry,listed in Shanghai(code 600699)Strong worldwide market:·Ningbo/China·Headquarters·Automotive Components Division (Joyson)Bad Neustadt/Deutschland·Electronics Division(Preh)·Automation Division(PIA)

    标签: PrehBMS 汽车电子

    上传时间: 2022-08-09

    上传用户:

  • 基于MSP430单片机的城市燃气监测系统设计

    研究并设计了基于16位单片机MSP430的小区燃气流量监测和远程传输的一体化解决方案,将传统的监测模块-安全栅-电源-传输电路进行一体化集成。引入了世界新兴的功能安全设计理念,可以有效地提高燃气监测系统的可靠性并大幅度降低产品的硬件成本。

    标签: MSP 430 单片机 城市

    上传时间: 2013-12-09

    上传用户:busterman

  • 单片直接驱动数码管的计数器程序

      a_bit equ 20h ;个位数存放处   b_bit equ 21h ;十位数存放处   temp equ 22h ;计数器寄存器   star: mov temp,#0 ;初始化计数器   stlop: acall display   inc temp   mov a,temp   cjne a,#100,next ;=100重来   mov temp,#0   next: ljmp stlop   ;显示子程序   display: mov a,temp ;将temp中的十六进制数转换成10进制   mov b,#10 ;10进制/10=10进制   div ab   mov b_bit,a ;十位在a   mov a_bit,b ;个位在b   mov dptr,#numtab ;指定查表启始地址   mov r0,#4   dpl1: mov r1,#250 ;显示1000次   dplop: mov a,a_bit ;取个位数   MOVC A,@A+DPTR ;查个位数的7段代码   mov p0,a ;送出个位的7段代码

    标签: 直接驱动 数码管 计数器 程序

    上传时间: 2013-11-06

    上传用户:lx9076

  • 采用TÜV认证的FPGA开发功能安全系统

    This white paper discusses how market trends, the need for increased productivity, and new legislation have accelerated the use of safety systems in industrial machinery. This TÜV-qualified FPGA design methodology is changing the paradigms of safety designs and will greatly reduce development effort, system complexity, and time to market. This allows FPGA users to design their own customized safety controllers and provides a significant competitive advantage over traditional microcontroller or ASIC-based designs. Introduction The basic motivation of deploying functional safety systems is to ensure safe operation as well as safe behavior in cases of failure. Examples of functional safety systems include train brakes, proximity sensors for hazardous areas around machines such as fast-moving robots, and distributed control systems in process automation equipment such as those used in petrochemical plants. The International Electrotechnical Commission’s standard, IEC 61508: “Functional safety of electrical/electronic/programmable electronic safety-related systems,” is understood as the standard for designing safety systems for electrical, electronic, and programmable electronic (E/E/PE) equipment. This standard was developed in the mid-1980s and has been revised several times to cover the technical advances in various industries. In addition, derivative standards have been developed for specific markets and applications that prescribe the particular requirements on functional safety systems in these industry applications. Example applications include process automation (IEC 61511), machine automation (IEC 62061), transportation (railway EN 50128), medical (IEC 62304), automotive (ISO 26262), power generation, distribution, and transportation. 图Figure 1. Local Safety System

    标签: FPGA 安全系统

    上传时间: 2013-11-05

    上传用户:维子哥哥