LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help using linear fit sub vi

Hello All,

I have an application in LabVIEW that is almost complete.  It takes vibration data from a rotor that is to be balanced and permits the user to take all prox probe readings, magnitude and phase.  After the trial vibration runs, it calculates the influence coefficients and comes up with a set of correction weights that indicate how much weight at which radial location will work for that probe location.  The end result is to take all four of these solutions and perform a liner least squares fit on them to give the user the 'best fit' correctoin weight to satisfy all four.  Here is the resulting compass plot indicating a very nice grouping of the results.  I may add an addtional option where the user can exclude one that is an outlier.  Any help is greatly appreciated.

 

Single Plane Multiple Sensor Results copy.jpgSingle Plane Sensor Results.jpg

 

 

0 Kudos
Message 1 of 3
(108 Views)

Hi Coryman,

 


@Coryman wrote:

I may add an addtional option where the user can exclude one that is an outlier.

Any help is greatly appreciated.


Help for what?

  • What is your question?
  • Where's your code?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(67 Views)

I don't see what this has to do with a linear fit. You have a bunch of vectors and try do a weighed average, I guess. Nobody forces you to use the linear fit subVI.

 

As a first step, show us your code (make sure all controls have typical default data, e.g. a shown in the picture).. Also point us to a website that explains the experiment.

 

0 Kudos
Message 3 of 3
(48 Views)