当前位置:首页 > Labview电子时钟设计课程设计报告
responsible for the development of company management, including the development of settlement and settlement standards of preparation, the business unit clearing work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calculation and analysis of new projects and to develop standards and provide the basis for decision-making and responsible for the comprehensive economic and technical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purchase price, freight, taxes, etc), payment method, payment, settlement, such as the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, including tax calculations, statistics, go through the relevant formalities, receive invoices; 26, the company responsible for all kinds of price (including product price, material prices,Freight, engineering machinery jobs price, price, price) 's terms of market surveys, quotations, price exception report; 27, is responsible for the company's management, including conference organized by price, of historical prices, totals, etc; 28, according to the annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, correct, and complete accounting report and the company's other reports compiled and reported to work;目 录
第一章 概述 ............................................................................ 错误!未定义书签。 第二章 总体设计 ..................................................................... 错误!未定义书签。 2.1 时钟显示的结构 ................................................................. 错误!未定义书签。 2.2设计总思路.......................................................................... 错误!未定义书签。 第三章 软件设计 ..................................................................... 错误!未定义书签。 3.1获取时间的各整型数据...................................................... 错误!未定义书签。 3.2提取数字的各位.................................................................. 错误!未定义书签。 3.3 七段布尔显示控件编码 ..................................................... 错误!未定义书签。 3.4 译码、布尔显示数字 ......................................................... 错误!未定义书签。 3.5 显示时间的区段 ................................................................. 错误!未定义书签。 3.6 闪烁 ..................................................................................... 错误!未定义书签。 第四章 程序调试 ..................................................................... 错误!未定义书签。 总 结 .................................................................................... 错误!未定义书签。 附 录 .................................................................................... 错误!未定义书签。 程序框图前面板......................................................................... 错误!未定义书签。 程序面板程序框图..................................................................... 错误!未定义书签。
responsible for the development of company management, including the development of settlement and settlement standards of preparation, the business unit clearing work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calculation and analysis of new projects and to develop standards and provide the basis for decision-making and responsible for the comprehensive economic and technical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purchase price, freight, taxes, etc), payment method, payment, settlement, such as the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, including tax calculations, statistics, go through the relevant formalities, receive invoices; 26, the company responsible for all kinds of price (including product price, material prices,Freight, engineering machinery jobs price, price, price) 's terms of market surveys, quotations, price exception report; 27, is responsible for the company's management, including conference organized by price, of historical prices, totals, etc; 28, according to the annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, correct, and complete accounting report and the company's other reports compiled and reported to work;第一章 概述
虚拟仪器技术就是利用高性能的模块化硬件,结合高效灵活的软件来完成各种测试、测量和自动化的应用。灵活高效的软件能帮助您创建完全自定义的用户界面,模块化的硬件能方便地提供全方位的系统集成,标准的软硬件平台能满足对同步和定时应用的需求。这也正是NI近30年来始终引领测试测量行业发展趋势的原因所在。只有同时拥有高效的软件、模块化I/O硬件和用于集成的软硬件平台这三大组成部分,才能充分发挥虚拟仪器技术性能高、扩展性强、开发时间少,以及出色的集成这四大优势。LabVIEW(Laboratory Virtual Instrument Engineering Workbench,实验室虚拟仪器集成环境)是一种图形化的编程语言(又称G语言),它是由美国NI公司推出的虚拟仪器开发平台,也是目前应用最广、发展最快、功能最强的图形化软件集成开发环境。使用这种语言编程时,基本上不用写程序代码,取而代之的是程序框图。LabVIEW的特点如下:
? 编程简单; ? 开发周期短; ? 高效性; ? 开放性; ? 自定义性;
? 性价比高,能一机多用。
1
responsible for the development of company management, including the development of settlement and settlement standards of preparation, the business unit clearing work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calculation and analysis of new projects and to develop standards and provide the basis for decision-making and responsible for the comprehensive economic and technical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purchase price, freight, taxes, etc), payment method, payment, settlement, such as the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, including tax calculations, statistics, go through the relevant formalities, receive invoices; 26, the company responsible for all kinds of price (including product price, material prices,Freight, engineering machinery jobs price, price, price) 's terms of market surveys, quotations, price exception report; 27, is responsible for the company's management, including conference organized by price, of historical prices, totals, etc; 28, according to the annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, correct, and complete accounting report and the company's other reports compiled and reported to work; 第二章 总体设计
2.1 时钟显示的结构
本课题要求设计一个数字时钟。通过获取电脑的系统时间,并分离出给数字,在通过布尔显示显示。数字的显示主要是7个长条的布尔显示组成,原理与7段数码管相似。7段数码管显示不同的数字主要通过其7个布尔不同的真假值控制,将0-9对应的7段布尔显示值依次存入一个布尔数组里,只需提取此数组的不同段即可让其显示不同的值,如显示“0”提取数组的0-6位分别赋值给7段布尔显示。
2.2设计总思路
获取时间的控件可以获取的信息有:年、月、日、星期、天数、时、分、秒、秒小数等,取得的值为整型数据,利用除数取余即可分离个十位。为了获得更好的显示效果将背景改为黑色,布尔显示的颜色为绿色。
responsible for the development of company management, including the development of settlement and settlement standards of preparation, the business unit clearing work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calculation and analysis of new projects and to develop standards and provide the basis for decision-making and responsible for the comprehensive economic and technical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purchase price, freight, taxes, etc), payment method, payment, settlement, such as the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, including tax calculations, statistics, go through the relevant formalities, receive invoices; 26, the company responsible for all kinds of price (including product price, material prices,Freight, engineering machinery jobs price, price, price) 's terms of market surveys, quotations, price exception report; 27, is responsible for the company's management, including conference organized by price, of historical prices, totals, etc; 28, according to the annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, correct, and complete accounting report and the company's other reports compiled and reported to work;第三章 软件设计
3.1获取时间的各整型数据
软件中获取日期/时间(秒)控件从计算机系统中自动提取时间,并转换成日期、时间等,控件图如下:
图3-1
在获取时间后,将数据解除捆绑即分别取得年、月、日、时间等,如下图:
图 3-2
3.2提取数字的各位
通过除10取余便可得到个位,商为十位,以此方法也可求出年的各个数字,如下图:
图3-3
3
共分享92篇相关文档