06-25-2024 06:56 AM
I need to plot the R(T) curve of the ntc probe (which is exponential decreasing). I calculated the temperature and resistance arrays, how do I use the "non linear curve fitting" block? can you give me an example?
Solved! Go to Solution.
06-25-2024 07:17 AM - edited 06-25-2024 07:18 AM
Hi John,
@John96Dee wrote:
how do I use the "non linear curve fitting" block? can you give me an example?
Read the help for that function, scroll down til the end and open one of the listed example VIs…
06-25-2024 08:46 AM
There is already an exponential fit built-in, just make sure that IF there is a vertical offset to adjust the bounds accordingly.
For more complicated models have a look here.
06-26-2024 04:15 AM - edited 06-26-2024 04:23 AM
Hello, I made a VI that at the end of the process creates two vectors. One is a vector of 10 temperatures and the other is a vector of 10 resistances; for each temperature value, I have a corresponding resistance value (so I basically have 10 coordinates). The final goal of the VI is to create the R(T) characteristic of an NTC sensor and plot it graphically (so theoretically, the curve I should obtain is a decreasing exponential). I know I need to do the "fitting". Can someone help me use the "non-linear curve fit" block or if it possible " exp fit" im not able to use them? Thanks, I hope I was clear.
06-26-2024 04:52 AM
Hi John,
please don't create new threads for the same topic…
@John96Dee wrote:
Hello, I made a VI that at the end of the process creates two vectors. One is a vector of 10 temperatures and the other is a vector of 10 resistances; for each temperature value, I have a corresponding resistance value (so I basically have 10 coordinates). The final goal of the VI is to create the R(T) characteristic of an NTC sensor and plot it graphically (so theoretically, the curve I should obtain is a decreasing exponential).
06-26-2024 05:16 AM
i'm sorry for the same question. yes i try to use the block but i'm not able to use it. if someone can upload some examples VI, it is better. thanks
06-26-2024 05:49 AM - edited 06-26-2024 05:56 AM
Hi John,
@John96Dee wrote:
if someone can upload some examples VI, it is better.
You already accepted a solution that told you how to find examples…
I asked for your example VI with your measurement data included: mind to share it?
I also have a tool to calculate interpolations:
There's a (German) user interface and the subVI to calculate the exponential fit…