Create a time trial program to compare the average execution times of the Formula Node and the native LabVIEW Math Functions. This program will rquire a For Loop, a Flat Sequence structure, and a Case structure. The For Loop is required to run the time trial N times and then the results can be averaged using the Statistics Express VI. The sequence structure is required to sample the Tick Count before and after the code executes. The Case structure is required to determine whether the user would like to execute the Formula node or the native LabVIEW Math Functions. To test the timing, use the following formulas:
a=X^2/4
b=(2*X)+1
Y=sin(a+b)
where X is the inpput and Y is the output. Run the time trial for each of the cases