labvie第二次课.ppt

  1. 1、本文档共25页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
labvie第二次课

Summary Initializing Shift Registers Case Structure Modifying Numeric Controls Indicators 上机 本周五,第三大节,C机房 任务1. 习题3-1 2. 求500个随机数中的最大值和最小值 3. 习题3-2 4. 在习题3-2中加 event 下周一,第二大节,C机房 任务 1. 3-3 2. 3-4 3. 3-5 4. 设计一简单的信号源,要求能选择正弦、三角和方波,并用Waveform Graph显示 2: The Case structure allows you to choose a course of action depending on an input value. In the Structures subpalette of the Controls palette. Analogous to a case statement in Pascal or if-then-else statement in other languages. Like a deck of cards. You can see only one case at a time. Customers often think that when separate cases are shown, it means to create two or more case structures. Stress that you need only one case structure. Explain examples: Example 1: Boolean input: Simple if-then case. If the Boolean input is TRUE, the true case will execute; otherwise the FALSE case will execute. Example 2: Numeric input. The input value determines which box to execute. If out of range of the cases, LabVIEW will choose the default case. Example 3: String input. Briefly discuss the string input for cases. Pages 6-3 to 6-5: Discuss the examples on the slide. Be sure to mention the difference between the numeric and Boolean Case structures. Also, remind the students that all cases must provide a value for all output tunnels. Demonstrate using the Text Ring from the List Ring subpalette of the Controls palette. Demonstrate some of the features of Case structures: Directly typing into the Cases Setting ranges in the Case Reordering the Cases The Default Case 11: In a text-based language, program statements execute in the order in which they appear. In data flow, a node executes when data is available at all its input terminals. Sometimes it is hard to tell the exact order of execution. Often, certain events must take place b

文档评论(0)

qiwqpu54 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档