- 1、本文档共54页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* Error Cluster Use the error in and error out clusters in each VI you use or build to handle errors in the VI. The error clusters located on the Controls?Array Cluster palette include the components of information shown * Error Cluster Details Status is a Boolean value that reports TRUE if an error occurred. Most VIs, functions, and structures that accept Boolean data also recognize this parameter. Code is a signed 32-bit integer that identifies the error numerically. A non-zero error code coupled with a status of FALSE signals a warning rather than a fatal error. Source is a string that identifies where the error occurred. * Error Handling with Clusters LabVIEW does not handle errors automatically. In LabVIEW, you can make these error handling decisions on the block diagram of the VI. Error handling in LabVIEW follows the dataflow model. Just as data flow through a VI, so can error information. Wire the error information from the beginning of the VI to the end. Error Cluster * Simple Error Handler Use the Simple Error Handler to handle the error at the end of the execution flow. The Simple Error Handler is located on the Functions?All Functions?Time and Dialog palette. Wire the error cluster to the Error In (no error) input. * Using While Loops for Error Handling You can wire an error cluster to the conditional terminal of a While Loop to stop the iteration of the While Loop. Only the TRUE or FALSE value of the status parameter of the error cluster is passed to the terminal. When an error occurs, the While Loop stops. * Clusters group data elements of mixed types. A cluster cannot contain a mixture of controls and indicators. To create a cluster control or indicator, select a cluster on the Controls?Array Cluster palette, place it on the front panel, and drag controls or indicators into the cluster shell. Use the Cluster functions located on the Functions?All Functions?Cluster palette to create and manipulate clusters. Error checking tells you why and wh
您可能关注的文档
- 黄金投资分析师培训课件-PPT002黄金的属性分类与用途.ppt
- 现代文学(7章)20_散文.ppt
- 思想道德修养与法律基础第一章课件.ppt
- 员工基本职业素质培训1科学工作方法.ppt
- 第四章__公司筹资决策(上)12.ppt
- 殡葬职工心理及调节-2.ppt
- 复杂网络的牵制同步研究答辩.ppt
- 财政学+第06章+财政收入总论.ppt
- 美国医学索引.ppt
- 新奥集团薪酬改革.ppt
- 2022年山西晋中中考道德与法治试题及答案.pdf
- 开源量化评论(102):中证A500指数成分股复制及增强探索-241212-开源证券-14页.pdf
- 中观景气度高频跟踪:中观景气度数据库和定量模型应用-241209-天风证券-17页.pdf
- 2025年公募基金年度策略报告-增配权益 成长占优.pdf
- 天齐锂业(002466)全球头部锂企,资源优势明显-241211-华安证券-16页.pdf
- 有色金属行业:中国央行重启购金,看好黄金板块表现-241208-海通证券-25页.pdf
- 信用债观察诚通国新发行专项债,“置换债”基本披露完毕-241208-平安证券-10页.pdf
- 盛达资源(000603)风起青萍,好事发生-241210-德邦证券-16页.pdf
- 情绪升温仍有空间-241208-国投证券-10页.pdf
- 中共中央政治局会议精神学习:政策基调转向宽松,关注全方位扩内需-241209-中邮证券-10页.pdf
文档评论(0)