ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting slope

Does anyone have an example of getting slope/y-intercept from data populated in notepad using LabVIEW?
 
Thanks.
 
 
0 Kudos
Message 1 of 2
(3,073 Views)
You can use Read From Spreadsheet File on the File I/O palette and Linear Fit on the Analyze>Mathematics>Curve Fitting palette. The default delimiter for for Read From Spreadsheet is a tab character that you can cahnge and the attachment assumes that the X data is in column 1 and the Y data is in column 2. Modify as needed.
0 Kudos
Message 2 of 2
(3,069 Views)