Question: Create a time trial program to compare the average execution times of the Formula Node and the native LabVIEW Math Functions. This program will

Create a time trial program to compare the average execution times of

Create a time trial program to compare the average execution times of the Formula Node and the native LabVIEW Math Functions. This program will require a For Loop, a Flat or Stacked 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. [Use the equations provided in the question (LVSE) below to test timing. a = X/4; b= (2*X) + 1; Y = sin(a + b); Where X is the input and Y is the output.

Step by Step Solution

3.41 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer N 10 For Loop Set N 10 Ti... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!