基于LabVIEW的秒表设计
摘要
数字式秒表是一种常用的计时工具,广泛用于各种比赛以及各类实验测量中。随着生活节奏的加快,人们时间观念的加强,各种计时器已经成为人们日常生活中不可或缺的一部分,并且人们已经不能满足于单一的某一种功能了。而如何在秒表的基础上,根据人们生活的需要增加相应的功能以方便人们的生活,便成为秒表设计方面的重点。
我基于LabVIEW设计的的秒表,具有秒表计时器、倒计时器、节拍器、时钟和闹钟的功能。其具有界面美观,简单易用,功能强大,精确度高等特点。此秒表的所有功能均可以独立运行,互不干扰,具有很好的用户体验。 关键词:秒表,计时,LabVIEW
第 II 页
Stopwatch design based on LabVIEW
Abstract
Digital stopwatch is a commonly used tool for timing.It is widely used in various competitions and a variety of experimental measurements.With the accelerated pace of life and the strengthening of the concept of time,variety timer has become an indispensable part of everyday life,and it has been unable to meet on a single feature of a certain kind.It has become the focus of the stopwatch design that how to add the corresponding function according to the needs of people's lives based on the stopwatch to convenience to people's lives.
Stopwatch witch I designed based on LabVIEW, is with a stopwatch timer, countdown timer, metronome, clock and alarm functions.It has a beautiful interface, easy to use, powerful, high precision characteristics.This stopwatch’s all functions can be run independently, means can without disturbing each other, and with good user experience.
Keywords: stopwatch, timer, LabVIEW
第 III 页
目 录
1.绪 论 ............................................................ 1
1.1 引言 ....................................................... 1 1.2虚拟仪器的概念及特点 ....................................... 1
1.2.1虚拟仪器 ............................................. 1 1.2.2 虚拟仪器的特点 ....................................... 1
2. 图形化编程和LabVIEW ............................................ 2
2.1 图形化编程简介 ............................................. 2 2.2 LabVIEW简介 ............................................... 2
2.2.1前面板 ............................................... 2 2.3.2 程序框图 ............................................. 2
3.秒表介绍及程序设计 ............................................... 3
3.1 概述 ....................................................... 3 3.2 秒表的发展 ................................................. 3 3.3 秒表的功能设计 ............................................. 5
3.3.1.正计时 ............................................... 5 3.3.2 倒计时 ............................................... 6 3.3.3.节拍器 ............................................... 6 3.3.4.时钟与闹钟 ........................................... 6
4. 程序实现 ........................................................ 7
4.1秒表计时器 ................................................. 7
第 IV 页
4.1.1 流程图 ............................................... 7 4.1.2程序设计 ............................................. 8 4.2 倒计时器 .................................................. 21
4.2.1流程图 .............................................. 21 4.2.2程序设计 ............................................ 22 4.3节拍器 .................................................... 25
4.3.1流程图 .............................................. 25 4.3.2 程序设计 ............................................ 26 4.4时钟及闹钟 ................................................ 28
4.4.1流程图 .............................................. 28 4.4.2 程序设计 ............................................ 28
总 结 ............................................................. 31 致 谢 ............................................................. 33
第 V 页
相关推荐: