LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple MathScript running very slowly.

Solved!
Go to solution

I'll simplify my question...

 

Is there a way I can have a selection based on the headers of that file: X Value, FL Drag, FR Drag, etc. etc. and I can have a radio button or checkbox or something as to whether that data gets zero corrected or averaged or both or neither etc.?

0 Kudos
Message 11 of 12
(462 Views)

Yes, there are many ways to do this.

 

Here's a quick draft where we use an array of clusters where each array element contains a string and a checkbox. The strings are populated with the labels and the checkbox decides if we offset correct or not. The string is disabled to the user so it cannot be modified, but changing the checkbox will change the mask for offset correction.

 

Modify as needed. See if it makes sense.

 

(Many things can still be improved. For example (for another order of magnitude speedup!) the averaging only needs to be done on the trace we are currently looking at.)

0 Kudos
Message 12 of 12
(447 Views)