1.1
代码说明:
说明: 创建一个计时测试程序,比较公式节点和本地LabVIEW数学函数的平均执行时间。此程序需要一个For循环或一个平序或叠序结构以及一个Case结构。要求For循环运行计时测验N次,然后使用Statistics Express VI对结果做平均。要求顺序结构在代码运行之前以及代码运行之后对Tick Count进行采样。要求Case结构判定用户是要执行公式节点还是要执行本地LabVIEW数学函数。对每个分支运行计时测验程序。哪种方法执行时间最快?哪种方法最容易编程?别人要看程序时,哪种方法更容易理解?(Create a timing test program to compare the average execution time of formula nodes and local LabVIEW mathematical functions. This program needs a For loop or a plain or overlapping structure and a Case structure. Require the For cycle to run the timing test N times, and then use Statistics Express VI to average the results. The sequential structure is required to sample Tick Count before and after the code runs. The case structure is required to determine whether the user wants to execute formula nodes or local LabVIEW mathematical functions. Run the timing test program for each branch.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!