From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I am new to VC++ and Component works. I am trying to implement the PolyFit procedure.
My data structures are declared as:
double x[10]; double y[10]; double z[10]; byte order = 4; double coef[10]; double mse; My code populates the x and y arrays with data to be fit.
I see that PolyFit requires variants. I believe that the variant references are holding me up. Could someone provide a simple example of how I would get my information into the proper format for a call to PolyFit and how configure that returned data.