LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what's the best way to fit a cirve and put the fitting curve onto the same waveform?

Hi, all

i have real time data sampling.

i need to fit the data in realtime and add the fitting plot onto the same waveform?
what is the best way to do this??
by the way..i also don't quite understand how to add two plot onto one same waveform?

thank you very much
Jack
0 Kudos
Message 1 of 4
(2,347 Views)
Look at attached vi.
It illustrates one simple way of plotting two plots onto one waveform graph
 
You could do this on an xy graph too
 
any further doubts , do ask
 
Regards,
Dev
Message 2 of 4
(2,343 Views)
To fit the data, you need the correct model. What kind of function are you trying to fit? LabVIEW has a large collection of fitting tools. Do you have some example data?
 
To display multiple plots on the same waveform graph, the techniqe depends on the type of data.
 
If one plot is a 1D array, you would make multiple plots on the same graph by using "built array" and forming a 2D array.
If one plot is a waveform, use "built array" to make a 1D arra of waveform.
If you have dynamic data, use "merge signals" before feeding it to the graph terminal.
 
0 Kudos
Message 3 of 4
(2,341 Views)
thank you both of you : )
really helpful

JackSmiley Happy
0 Kudos
Message 4 of 4
(2,322 Views)