Error in Global Fit
A.M
I started having errors when running the global fit package proposed in Igor.
I am not completely sure, but it seems that the problem started appearing when using the latest version (6.22A).
The error is in the else part of the following:
Wave/T ListWave = root:Packages:NewGlobalFit:NewGF_DataSetListWave
if (WaveExists(w))
ListWave[row][NewGF_DSList_YWaveCol][0] = NameOfWave(w)
ListWave[row][NewGF_DSList_YWaveCol][1] = GetWavesDataFolder(w, 2)
else
ListWave[row][NewGF_DSList_YWaveCol][0] = "" // this allows us to clear the data set from a row
ListWave[row][NewGF_DSList_YWaveCol][1] = ""
And when opening a blank Igor file and a global fit, the waves of the last global fit are appearing in the control panel. Is that normal?
I unistalled and reinstalled Igor on my computer but this did not help.
Thanks!
What is the error message?
What did you do to provoke the error?
Is it data dependent?
No, unless you are opening an Igor experiment file (.pxp extension) in which you saved a copy of the control panel.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
November 15, 2012 at 09:25 am - Permalink
I have the following errors when trying to open GF panel in a .pxp file where there is already some data loaded:
- Error when adding a new data set in the GF panel:
a wave write error: "Index out of range for new wave : "NewGF_DataSetListWave"."
- Then error when trying to link the parameters:
a wave write error: "Couldn't find the given dimension item label %backColors in wave "NewGF_MainCoefListSelWave"."
Hope this can clarify!
November 16, 2012 at 02:09 am - Permalink
http://www.igorexchange.com/node/3164#comment-1
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
November 16, 2012 at 10:05 am - Permalink
http://www.igorexchange.com/node/3164#comment-1
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
November 16, 2012 at 10:05 am - Permalink
Hi,
GF worked well for some time with version 6.3. I now have 6.32 A and get again some errors in the GF. The debugger (shown below) says: Listbox error: "Size out of range" and the problem seems to be at line "ListBox NewGF_Tab0CoefList".
I can still run the GF after clicking on the green arrow, so it does not seem to be a major error.
Do you have any idea?
Thanks!
// ControlInfo/W=NewGlobalFitPanel NewGF_TabControl
// switch(V_value)
// case 0:
Variable listTop, listHeight, dataSetsListWidth, dataSetsListRight, coefsListleft, coefsListWidth
CalcListSizes(listTop, listHeight, dataSetsListWidth, dataSetsListRight, coefsListleft, coefsListWidth)
ListBox NewGF_DataSetsList, win=NewGlobalFitPanel#Tab0ContentPanel, pos={dataSetsListRight-dataSetsListWidth, listTop}, size={dataSetsListWidth, listHeight}
ListBox NewGF_Tab0CoefList, win=NewGlobalFitPanel#Tab0ContentPanel, pos={coefsListleft, listTop}, size={coefsListWidth, listHeight}
Groupbox NewGF_Tab0ListDragLine,win=NewGlobalFitPanel#Tab0ContentPanel, pos={dataSetsListRight+NewGF_Tab0ListGrout/2, listTop},size={1, listHeight}
// break;
// case 1:
GetWindow NewGlobalFitPanel#Tab1ContentPanel wsizeDC
Variable Width = (V_right - V_left)
Variable Height = (V_bottom - V_top)
ListBox NewGF_CoefControlList, win=NewGlobalFitPanel#Tab1ContentPanel,size={width-NewGF_CoefListWidthMargin, height-NewGF_CoefListHeightMargin}
// break;
// endswitch
end
July 31, 2013 at 06:46 am - Permalink
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
July 31, 2013 at 12:53 pm - Permalink
Then I tried with an experiment containing my normal loading data routine and deleted the whole procedure from it, leaving a blank procedure, as well as deleting all stored waves, leaving exclusively the ones I needed for the GF. This gives again the same error message.
Unloading the GF, then killing all waves in "NewGlobalFit" and "NewGlobalFit_StoredSetup" and then reloading the GF package does not help either.
Do you have any idea where could be the problem? Thanks!
August 2, 2013 at 03:06 am - Permalink
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
August 2, 2013 at 08:58 am - Permalink
The saved information can be deleted from the wave root:Packages:WindowCoordinates:W_windowCoordinates.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
August 5, 2013 at 12:39 pm - Permalink