code

所属分类:Windows编程
开发工具:LabView
文件大小:34KB
下载次数:10
上传日期:2013-12-07 17:55:12
上 传 者4442257
说明:  编号为14的代码用来解决一下问题: 给出一百分制成绩,输入成绩用一个10位的一维数组(用随机数表示),要求输出等级A,B,C,D,E,输出也是一个一维数组。90分以上为A,80~89为B,70~79为C,60~69为D,60分以下为E。 编号为17.1,17.2,17.3可以实现一个简单的温度报警系统: 1) 为连续温度采集监测添加报警信息,当报警发生时输出报警信息,例如“温度超限!当前温度78.23℃”,正常情况下输出空字符串。 2) 利用子VI实现一个温度报警对话框,每当报警发生时就弹出该对话框,点击“知道了”按钮退出对话框。 基础上利用“报警信息”控件的blinking属性,实现在输出报警信息的同时伴随闪烁。为了能看到闪烁效果,需要将采样间隔设到5秒以上。
(Number of Code 14 is used to solve the problem: given a hundred-point scale results, enter scores with a 10-bit one-dimensional array (represented by a random number), required output level A, B, C, D, E, the output is a one-dimensional array. 90 points or more A, 80 ~ 89 is B, 70 ~ 79 is C, 60 ~ 69 to D, 60 points or less, E. No. 17.1,17.2,17.3 can implement a simple temperature alarm system: 1) continuous monitoring of temperature acquisition to add alarm output alarm when an alarm occurs, for example, " temperature gauge the current temperature of 78.23 ℃!" , Under normal circumstances outputs an empty string. 2) the use of sub-VI to achieve a temperature warning dialog box whenever an alarm occurs on the dialog box pops up, click on the " know" button to exit the dialog. Use based on blinking attribute " Alarm Information" controls, implemented in output accompanied by flashing alarm information. In order to see the flickering effect, the need to set the s)

文件列表:
code\14.vi (8366, 2013-11-25)
code\17.1.vi (9352, 2013-11-24)
code\17.2.vi (10504, 2013-11-25)
code\17.2子VI.vi (5568, 2013-11-25)
code\17.3.vi (10252, 2013-11-25)
code (0, 2013-12-07)

近期下载者

相关文件


收藏者