Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

NonLinearFit problem

Hello,

 

I have a problem using the 'NonLinearFit' method : 

 

I have an application that is compiled under VC++ 6.0 (with Ni Measurement Studio 6) and VC++ 2008 (with Ni Measurement Studio 8.6.1). This application needs to compute a gaussian fit from gathered datas. The VC6.0 version works fine, but I encounter problems with the 2008 version which is not able to give me the best gaussian coefficients (whereas the VC6 do) (especially the 'center' ie the X value for which the Y is maximum).

 

If anyone has an idea...

 

Thank you

0 Kudos
Message 1 of 2
(5,556 Views)

Hello Fabien,

 

Do you still have a problem with this ? Could you please send us a simple example to reproduice the behavior of your code ?

 

Regards,

 

Yannick.

0 Kudos
Message 2 of 2
(5,434 Views)