labview 编程与虚拟仪器设计(2-labview基础知识).pptVIP

labview 编程与虚拟仪器设计(2-labview基础知识).ppt

  1. 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
labview 编程与虚拟仪器设计(2-labview基础知识)

用控制(输入)和指示器(输出)建立前面板 数值 控制 数值 指示器 标签 增量 按钮 布尔 控制 布尔 指示器 (2).生成一个VI前面板 1. LabVIEW程序创建和编辑 五、LabVIEW创建、编辑和调试技术 (2).生成一个VI前面板,续 五、LabVIEW创建、编辑和调试技术 属性页面 右键在前面板上的控制或指示器,从快捷菜单上选择属性进入属性对话框 五、LabVIEW创建、编辑和调试技术 (3).创建框图程序 五、LabVIEW创建、编辑和调试技术 1. LabVIEW程序创建和编辑 (3).创建框图程序,续(添加除法和加法运算函数) 五、LabVIEW创建、编辑和调试技术 (3).创建框图程序,续(建立连线、完成程序) 五、LabVIEW创建、编辑和调试技术 连线技术 Hot Spot 自动连线 连线时使用帮助窗口 右键选择整理连线( Clean Up Wire) 提示条 自动连线路线 右键端口选择 显示项? 接线端 View the terminal connections to a function 五、LabVIEW创建、编辑和调试技术 练习:创建一个温度计 2. 子VI的建立 五、LabVIEW创建、编辑和调试技术 LabVIEW 层次 子VI 五、LabVIEW创建、编辑和调试技术 子VIs 函数伪代码 function average (in1, in2, out) { out = (in1 + in2)/2.0; } 子VI 框图程序 调用程序伪代码 main { average (point1, point2, pointavg) } 调用VI 框图程序 五、LabVIEW创建、编辑和调试技术 图标/连接端口 Icon Connector terminals 端口 图标代表subVI中的所有框图程序 连接端口表示subVI与调用它的VI间进行数据交换的输入输出端口 五、LabVIEW创建、编辑和调试技术 SubVI Example – 计算斜率 在另一个VI中的VI叫 subVI 使用 VI作为subVI,在建立前面板和框图程序后创建一个图标和连接端口 五、LabVIEW创建、编辑和调试技术 创建图标 图标: VI的图形化表示 右键图标,选择编辑图标(Edit Icon) Default Icon 创建一个定制图标 五、LabVIEW创建、编辑和调试技术 * Probe: Used to view values in arrays and clusters. Click on wires with the Probe tool or right-click on the wire to set probes. Create a probe when you want to have more control over how LabVIEW probes the data that flow through a wire. When you create a new probe, the data type of the probe matches the data type of the wire you right-click. Custom probes are also available - show if time permits. Breakpoint: Set pauses at different locations on the diagram. Click on wires or objects with the Breakpoint tool to set breakpoints. Conditional probe: a probe on which conditions can be set for when to break at the probe. It is VERY easy to place additional breakpoints on a VI. Teach students that if their program is not running correctly and they think they may have a breakpoint…somewhere…that they can use the Edit Find, Other – Breakpoints search tool to locate all breakpoints placed on their block diagrams! * Single stepping: executes the diagram node by

文档评论(0)

kfcel5460 + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档