Beta Test Version 0.999.5 - Comms testers

For discussion of Phil Tobin's Tuner Studio software

Moderator: LT401Vette

Re: Beta Test Version 0.999.5 - Comms testers

Postby LT401Vette » Sun Jul 25, 2010 1:00 pm

UnaClocker I have been working on the CAN. The throttling did have issues with CAN to where it was slowing down like you said. I've got it working well now using 3.03 MS2 as the main controller and the Trans code on a microsquirt for the CAN device it is running 10 records per second. I am working on getting my MS3 to run a CAN setup to test there as the 3.03 has the slowest read rate, I am betting that the MS3 will do better. 10/s is in the usable range, if the MS3 can get near 15 we may be in pretty good shape.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 3196
Joined: Sat Jul 16, 2005 8:07 am
Location: Charlotte, NC

Re: Beta Test Version 0.999.5 - Comms testers

Postby prof315 » Sun Jul 25, 2010 2:06 pm

Yeah I believe so...gotta tell you though things _seem_ WAY better with .996b coms wise than they have in quite a while. Anyhow the Logfile is on it's way.

Jeff
The Professor
90 Corrado 2.0 ABA running MS3 V3.57 board (upgrade mode) GTL VW Scirocco 1.8L 8V running MS2 v3.57 board MS2/Extra v2.1.1
90 Corrado 1.8T running MS3/3X V3.0 board fully sequential
Atlantic Auto Works
Melbourne, FL
prof315
Master MS/Extra'er
 
Posts: 475
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: Beta Test Version 0.999.5 - Comms testers

Postby Philip Lochner » Mon Jul 26, 2010 9:10 am

TS 6c does not re-establish comms after my carPC (XP) hibernated. Previous versions of TS did (cant be sure which). I need to close TS and restart the application for comms to be re-established. Going offline (via file menu) and online does not help either.
Kind regards
Philip
My website: www.jaguardiy.net
Philip Lochner
Master MS/Extra'er
 
Posts: 748
Joined: Thu Feb 16, 2006 6:18 am
Location: Centurion, South Africa

Re: Beta Test Version 0.999.5 - Comms testers

Postby LT401Vette » Mon Jul 26, 2010 11:25 am

TS 6c does not re-establish comms after my carPC (XP) hibernated. Previous versions of TS did (cant be sure which). I need to close TS and restart the application for comms to be re-established. Going offline (via file menu) and online does not help either.


Do you know if 999.1 or .3 worked there? I will have to check into that. Are you using the same serial connection?

When you try to do the online via the File menu does it just not respond or is it causing the app to hang?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 3196
Joined: Sat Jul 16, 2005 8:07 am
Location: Charlotte, NC

Re: Beta Test Version 0.999.5 - Comms testers

Postby LT401Vette » Mon Jul 26, 2010 12:28 pm

The changes for 0.999.6c since 6b:
    Fixed CAN reading for optimal speed.
    Made the number of Indicators rows on the default dash determined by the count of indicators.
    Added 19200 baud
    Made Communication settings apply on dialog close

UnaClocker,
The 0.999.6c release has CAN working pretty well... I am getting over 11 reads per second, so gauge response is decent. A couple tweaks that help:
In Project Properties on the "Settings" tab, make sure CAN COMMANDS is disabled.
In the mainController.ini file, if you change interWriteDelay to 0, it is good for 1.5 - 2.0 reads per second more. Caution should be taken in this as that delay is there for a reason. MS2 would miss a byte sometimes if the data was send without a delay, but I haven't seen that happen on MS3. I have run it at 0 a good deal and have not seen a byte dropped, but there is a risk until proven more thoroughly.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 3196
Joined: Sat Jul 16, 2005 8:07 am
Location: Charlotte, NC

Re: Beta Test Version 0.999.5 - Comms testers

Postby Philip Lochner » Mon Jul 26, 2010 12:32 pm

LT401Vette wrote:Do you know if 999.1 or .3 worked there? I will have to check into that. Are you using the same serial connection?


I never had 999.1 or 999.3 on this carPC Phil. The last version of TS I had on the carPC was one of the last beta versions (sorry cant say which one). . Knowing that would have expired is what made me uninstall that and install 999.1 and enter the registration info - which worked until a few power downs / reboots later.

LT401Vette wrote:When you try to do the online via the File menu does it just not respond or is it causing the app to hang?


The app does not hang but it takes rather long to execute mouse clicks.
Kind regards
Philip
My website: www.jaguardiy.net
Philip Lochner
Master MS/Extra'er
 
Posts: 748
Joined: Thu Feb 16, 2006 6:18 am
Location: Centurion, South Africa

Re: Beta Test Version 0.999.5 - Comms testers

Postby UnaClocker » Mon Jul 26, 2010 4:00 pm

Good to know, I'll edit my ini, and turn CAN passthrough back on and see how it works out. :) Having that working at full speed will come in real handy soon in my Omni, I'm going to be tuning James's trans controller at the same time as my engine.. :)
UnaClocker
Super MS/Extra'er
 
Posts: 1465
Joined: Fri May 07, 2004 12:59 pm
Location: Olalla, WA

Re: Beta Test Version 0.999.5 - Comms testers

Postby Keithg » Mon Jul 26, 2010 4:54 pm

Hey,

I have been getting this error a bit lately.

Keith
Screenshot-Signature Mismatch.png
Screenshot-Signature Mismatch.png (16.17 KiB) Viewed 178 times
Keithg
Super MS/Extra'er
 
Posts: 2176
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA

Re: Beta Test Version 0.999.5 - Comms testers

Postby LT401Vette » Mon Jul 26, 2010 5:10 pm

Interesting. Is that witha Bluetooth connection?
How often are you seeing that?
When TS reads that it is for an unspecified length as I don't know it. It looks like data albeit garbage dat keeps coming.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 3196
Joined: Sat Jul 16, 2005 8:07 am
Location: Charlotte, NC

Re: Beta Test Version 0.999.5 - Comms testers

Postby Philip Lochner » Tue Jul 27, 2010 3:33 am

Philip Lochner wrote:TS 6c does not re-establish comms after my carPC (XP) hibernated. Previous versions of TS did (cant be sure which). I need to close TS and restart the application for comms to be re-established. Going offline (via file menu) and online does not help either.


Just a bit more detail FWIW: After a hibernation TS will not have comms with the ECU. If I then click on File/work offline and tick "work offline" , it takes about 7 seconds and then the menu disappears and now we are offline of course but for a different reason. If I now repeat the file/work offline and un-tick work offline, TS comes up saying "Com15 is not a valid port". If I then select "work offline" and close TS and open it again, all is fine.
Kind regards
Philip
My website: www.jaguardiy.net
Philip Lochner
Master MS/Extra'er
 
Posts: 748
Joined: Thu Feb 16, 2006 6:18 am
Location: Centurion, South Africa

Re: Beta Test Version 0.999.5 - Comms testers

Postby UnaClocker » Tue Jul 27, 2010 10:17 pm

The datarate is much improved with a CAN device now. I didn't edit the ini to max it out, but I got a reliable connection, and my dash updates at a fair pace, and didn't slow down at any point during the day. This is the Mac hooked to the MS3..

Now for the PC hooked to the MS2.. .999.6c still has serious gauges going nuts issues. Win7, PL2303 adapter, Laptop with a real CPU (not a netbook), Win7 32bit. This is with the data rate set to max, I'm going to turn it down quite a bit before driving the car again.
Also.. Datalogging when I have a CAN device defined in the project.. Does it datalog parameters from both in the same log? I can see that being handy, but I can also see it being nice if I could define which device to datalog when I start the datalog..
Also, when I have a CAN device defined and I go to save the MSQ.. It's nice that it asks which device's MSQ I want saved.. But it'd be even better if it appended the device's short name to the front of the MSQ filename, so I could tell the CAN device's MSQ apart from the MS's.. I know you don't want to add new features till this release is out, so feel free to just add that to your to-do list for after 1.0..
UnaClocker
Super MS/Extra'er
 
Posts: 1465
Joined: Fri May 07, 2004 12:59 pm
Location: Olalla, WA

Re: Beta Test Version 0.999.5 - Comms testers

Postby LT401Vette » Tue Jul 27, 2010 10:24 pm

Turning down the data rate should fix it, but I was hoping it would be able to throttle on it's own.

A prefix would be handy, it will tell you what controller the msq is for when you click on it in the File open dialog. It will select the radio box as you click on it.

I was just about to put out 6d, let me take a quick look at the data rate throttling.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 3196
Joined: Sat Jul 16, 2005 8:07 am
Location: Charlotte, NC

Re: Beta Test Version 0.999.5 - Comms testers

Postby UnaClocker » Tue Jul 27, 2010 10:42 pm

Ok, here's my datalog from yesterday..
http://www.neonsquirt.com/una_tslog.zip Seems like it wasn't actually turning down one of the speeds, and it'd pretty quickly turn the other one right back up..
UnaClocker
Super MS/Extra'er
 
Posts: 1465
Joined: Fri May 07, 2004 12:59 pm
Location: Olalla, WA

Re: Beta Test Version 0.999.5 - Comms testers

Postby LT401Vette » Tue Jul 27, 2010 10:49 pm

I just put 0.999.6d out there.

UnaClocker, I did find that I had the reject of corrupt reads disabled, I did this while working on the CAn and must have forgotten to turn it back on. I hope that takes care of the windows machine.

Changes since 6c:
    Allow decimal places on VE Analyze Authority Limits
    Fixed CRC failure when entire data page is blank
    Fixed right click on VE Analyze table caused TS to go offline.
    Made VE Analyze use a TS AFR Table when Narrowband sensor
    VE Analyze filters Idle VE on MS3
    Check to make sure settings dialog doesn't open on second monitor when it isn't available
    Removed Table Editor from Tool menu
    Was not rejecting bad och reads
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 3196
Joined: Sat Jul 16, 2005 8:07 am
Location: Charlotte, NC

Re: Beta Test Version 0.999.5 - Comms testers

Postby LT401Vette » Tue Jul 27, 2010 10:53 pm

Also.. Datalogging when I have a CAN device defined in the project.. Does it datalog parameters from both in the same log?


Yes. The primary controller fields will look just like normal, but the CAN devices will have the Field Name prefixed with the device Identifier..
i.e. Trans.RPM
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 3196
Joined: Sat Jul 16, 2005 8:07 am
Location: Charlotte, NC

Re: Beta Test Version 0.999.5 - Comms testers

Postby UnaClocker » Wed Jul 28, 2010 1:21 pm

Ok, I loaded 6d this morning. I got a txmode0 error later on in the day. And the strangest thing happend after that. I clicked ok to the txmode0 error like I normally do, but my TS dash remained greyed out and "offline".. But didn't.. heh, all the gauges were running fine, darkened and marked "offline".. Strangest thing, I snagged a screenshot but can't post it online from work. I'll try to attach my log file here on the forum..
edit: this is on the Mac with the MS3.
Attachments
TunerStudioLogFile.txt.zip
Rather large, I need to delete the log file more often.
(541.93 KiB) Downloaded 3 times
UnaClocker
Super MS/Extra'er
 
Posts: 1465
Joined: Fri May 07, 2004 12:59 pm
Location: Olalla, WA

Re: Beta Test Version 0.999.5 - Comms testers

Postby LT401Vette » Thu Jul 29, 2010 12:40 pm

I think the online event may have been disrupted by an exception in the log file you posted. Also why the log is so big on you.. It seems to be generating a a lot of errors.

Does the OutputChannel "pwm1_countH" mean anything to you?
On each outpc post there is an error getting the value for this OutputChannel and in the 0.25 MS3 code i don't see such an OutputChannel defined :?:
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 3196
Joined: Sat Jul 16, 2005 8:07 am
Location: Charlotte, NC

Re: Beta Test Version 0.999.5 - Comms testers

Postby jsmcortina » Fri Jul 30, 2010 3:52 am

LT401Vette wrote:Does the OutputChannel "pwm1_countH" mean anything to you?
On each outpc post there is an error getting the value for this OutputChannel and in the 0.25 MS3 code i don't see such an OutputChannel defined :?:

Nothing to do with MS3.
As a guess I'd say that might be something to do with Jean's IO-Extender and a count for odometer?

James
I can supply, repair or upgrade Megasquirts in UK

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 12450
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Beta Test Version 0.999.5 - Comms testers

Postby racingmini_mtl » Fri Jul 30, 2010 6:43 am

Yes that's from the I/O Extender and likely to be the counter for the VSS input. Depending on the configuration, it may be invalid data but it should still be present in the log.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
racingmini_mtl
Super MS/Extra'er
 
Posts: 2115
Joined: Sun May 02, 2004 6:51 am
Location: Montreal, Canada

Re: Beta Test Version 0.999.5 - Comms testers

Postby UnaClocker » Fri Jul 30, 2010 12:44 pm

Yeah, I double checked my custom.ini, I'm not using that variable for anything. It's defined in the iox.ini file I guess. Not sure why it'd be getting an error. my VSS is on pwmin3, and the ethanol sensor is on pwmin2.. nothing is on #1 right now. I can post my MSQ's if you'd like.
UnaClocker
Super MS/Extra'er
 
Posts: 1465
Joined: Fri May 07, 2004 12:59 pm
Location: Olalla, WA

PreviousNext

Return to Tuner Studio

Who is online

Users browsing this forum: elaw, Gokart and 1 guest