May 23, 2013, 07:53:34 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: AEM DYNO-SHAFT ON-VEHICLE DYNO!
 
Pages: [1]
Print
Author Topic: Bug found .98 when updating many cells simultaneously  (Read 1454 times)
dre99gsx
What's Boost Comp?
**
Posts: 231



WWW
« on: November 24, 2009, 03:18:33 PM »

I have to find the error log, but when I try to increment or decrement (using + or - key) a matrix of 6x6 fuel cells, it throws up an error and will sometimes freeze.  If I change all the values slowly, it doesn't complain.  If I hit them very quickly, it will complain.
Logged

503awhp/442torque 93octane/AGP T3T4 Cutsom
http://www.twingles.com/ideck
94 TT MKIV
dre99gsx
What's Boost Comp?
**
Posts: 231



WWW
« Reply #1 on: November 24, 2009, 03:19:32 PM »

Error Received at: Tuesday, November 24, 2009 3:23:24 PM

AEM.Shared.Exceptions.CUnhandledException: An Unhandled exception was found. It will be logged and execution will continue. ---> System.InvalidOperationException: Stack empty.
   at System.Collections.Stack.Peek()
   at AEM.Shared.Calibration.CCalibrationEquationParser.CCalibrationFunction.PopCalibration()
   at AEM.Shared.Calibration.CCalibrationEquationExecuter.0(IEquation , Double , Int32 , Int32 , Int32 , String , CalItemType , CCalibration )
   at AEM.Shared.Calibration.CCalibrationEquationExecuter.Evaluate(IEquation pEquation, Double dCurValue, Int32 iCurRawValue, Int32 iXAxisIndex, Int32 iYAxisIndex, String strCalItemName, CalItemType eCalItemType, CCalibration pCalibration)
   at AEM.Shared.Calibration.CUserScalarDef.RawToReal(Double dRawValue, Int32 iXAxisIndex, Int32 iYAxisIndex, String strCalItemName, CalItemType eCalItemType, CCalibration pCalibration)
   at AEM.Shared.Calibration.CCalibrationItemDef.RawToReal(Int32 iRawValue, Int32 iXAxisIndex, Int32 iYAxisIndex, CCalibration pCalibration)
   at AEM.Shared.Calibration.C3DTableDef.RawToReal(Int32 iRawValue, Int32 iXAxisIndex, Int32 iYAxisIndex, CCalibration pCalibration)
   at AEM.Shared.Calibration.CCalibration.Increment3DTableItem(String strTableName, Int32 iXTableIndex, Int32 iYTableIndex, Int32 iIncrement)
   at AEM.Shared.Calibration.CCalibrationEditor.IncrementValuesTable(Point ptFirstPoint, Point ptSecondPoint, Int32 iSteps, String strTableName, Boolean b2DTable)
   at 0.1v.IncrementValues(Int32 iSteps)
   at 0.1V.SelectedCellsIncremented(Int32 iIncrement)
   at 0.1t.TableCellsIncremented(Int32 iIncrement)
   at 0.1W.8(Int32 )
   at 0.1W.OnKeyDown(KeyEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at NineRays.Windows.Forms.FlyGrid.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   --- End of inner exception stack trace ---
Logged

503awhp/442torque 93octane/AGP T3T4 Cutsom
http://www.twingles.com/ideck
94 TT MKIV
AZ
Administrator
What's Boost Comp?
*****
Posts: 259



« Reply #2 on: November 24, 2009, 03:46:47 PM »

I need more info:
Is EMS connected while you're adjusting the fuel map?
Is Auto-Rescale turned on? (Go to Tools->Preference, it's under Misc category).
If yes, is the adjusting causing a auto-rescale? ( you can tell by looking the MicroSec/bit option)
What's your OS?

Thanks.
Logged
dre99gsx
What's Boost Comp?
**
Posts: 231



WWW
« Reply #3 on: November 24, 2009, 04:19:11 PM »

No problem:

Happens when connected and tuning the vehicle
Windows XP SP3
Auto Scale is on (come to think of it, I could turn it off...)
-  I haven't been watching the Microsec/bit.  I'll keep my eye on it.

It happens consistently.  I can turn off Microsec/bit and see if it disapears.

Thanks.
Logged

503awhp/442torque 93octane/AGP T3T4 Cutsom
http://www.twingles.com/ideck
94 TT MKIV
jonbar87
What's Boost Comp?
**
Posts: 186



« Reply #4 on: November 24, 2009, 07:01:36 PM »

I've been having this problem as well. If i highlight a bunch of cells and try to + or -, sometimes it'll freeze up completely. Other times, it changes right away. But, the times it does freeze and I have to ctrl+alt+del out of the program, when I open it up again and download the map, half the cells are changed...so it's like it is changing them, just very very slowly. Doesn't make sense though because it's not always like this, other times it changes almost instantly (maybe 1 - 2 seconds).
Logged

Is this the beginning of change or the end of capitalism...?
AZ
Administrator
What's Boost Comp?
*****
Posts: 259



« Reply #5 on: November 25, 2009, 11:59:44 AM »

The reason wh
I've been having this problem as well. If i highlight a bunch of cells and try to + or -, sometimes it'll freeze up completely. Other times, it changes right away. But, the times it does freeze and I have to ctrl+alt+del out of the program, when I open it up again and download the map, half the cells are changed...so it's like it is changing them, just very very slowly. Doesn't make sense though because it's not always like this, other times it changes almost instantly (maybe 1 - 2 seconds).

The reason it looks like "freeze up" and "half the cells are changed" is because you have "AutoRescale" turned ON, and AEMTuner is rescaling the WHOLE fuel map. And while the ECU is connected, the process is slow because of the communication. You can test it by entering a very large number in one cell of fuel map and you'll see the whole map is changed. If you exit the program during the rescaling, half of you cells are changed.

I do find there is a issue and it'll be fixed in the next version. Thanks for your posts!
Logged
jonbar87
What's Boost Comp?
**
Posts: 186



« Reply #6 on: November 29, 2009, 01:24:30 PM »

I see. I will turn off autorescale and see if that helps. Thanks!
« Last Edit: November 30, 2009, 04:41:25 PM by jonbar87 » Logged

Is this the beginning of change or the end of capitalism...?
Pages: [1]
Print
Jump to: