When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
I'm trying to chase down a misfiring issue I have in my 1996 Camaro so I downloaded Gary Doug's OBDII scanning software and bought an ELM327 cable. When I click connect on the software, I get an error message. I've attached a screenshot of the error. If I click continue, the program stops responding. I'm on Windows 10, but also tried running the program in Windows 7 compatibility mode. Any help would be appreciated. Thanks!
Re: GD Scan giving me an error when I try to connect
Great, thank you! I realized it may be useful if I include the full log that shows up under "details" so I've copied and pasted it below.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at WindowsApplication1.Main.GetMons()
at WindowsApplication1.Main.btnOpen_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
From: Born on the Florida West Coast, now where can I retire?
Re: GD Scan giving me an error when I try to connect
1) Make sure you have extracted the files from the zip file
2) Check that the following files are in the same folder as the gdscan-gm-enhanced.exe file: mode6gm.csv and obd2-list.csv
Can you post a photo of the screen when you get the error message? Does it show any data in a table?
What cable are you using? Can you post a link to the site where you bought it? Can you tell me what driver version is installed?
Last edited by GaryDoug; Nov 11, 2020 at 03:59 PM.
Re: GD Scan giving me an error when I try to connect
I've made sure to download the drivers that the adapter says to, although I'm pretty sure Windows did automatically anyway. It is showing up under COM Ports so I believe it's working.
I also have all the files that came in the zip file, and they are extracted to a regular folder.
One interesting thing that I noticed is that the error only appears when I run the GDscan-GM-Enhanced version of the program. The GDscan and GDscan-GM versions do not show the error, however they just freeze up and stop responding, and I have to end them through task manager.
Sorry Gary, just refreshed the page and saw the questions you added:
When I get the error message, nothing shows up on the PID list. it just looks like this:
If I click continue, the dialogue box goes away but nothing shows up in the program.
Re: GD Scan giving me an error when I try to connect
I just downloaded those drivers, but Windows is not letting me install them for my device because the drivers it's auto-installing are digitally signed. I'm assuming this has to do with my cable being a cheap Chinese knockoff. I figured I'd try my luck with one, but it seems that it didn't work out for me.
Also just wanted to say thanks again for the help! I really appreciate how you not only made good free software that works for our cars, but also continue to help with it many years later like this.
Last edited by anthonyac1015; Nov 12, 2020 at 11:48 AM.
Reason: typo
From: Born on the Florida West Coast, now where can I retire?
Re: GD Scan giving me an error when I try to connect
Did you uninstall the device first? Was there an option to install the older drivers anyway? Perhaps turn off internet access while installing them. I find it hard to believe that FTDI drivers are not signed. The cable in your link would work fine.
Last edited by GaryDoug; Nov 12, 2020 at 12:45 PM.
Re: GD Scan giving me an error when I try to connect
Ok so I was able to get that driver installed for the device now! Windows was automatically downloading the other one too fast but by disconnecting from the internet I was able to manually select the FTDI one. Now when I click connect I get this error:
And when I click OK I get:
I know COM5 is the right port because it is the only one that shows up on the dropdown. Also, it shows the USB Serial Port is COM5 in Device Manager. Here is a screenshot of the port settings. I don't know enough about these to know if I should be changing anything. Thanks again!
From: Born on the Florida West Coast, now where can I retire?
Re: GD Scan giving me an error when I try to connect
Try rebooting the pc. Also, the port settings in your attachments are not really important because the program resets those values when it starts. More important info are the driver file names on the Driver tab.
From: Born on the Florida West Coast, now where can I retire?
Re: GD Scan giving me an error when I try to connect
I can only guess that is a defective cable. That could be why it installed the wrong driver. Any of these similar cables should work but I do recommend this cable, which will actually be a higher baud rate (115k baud) and makes it about 10% faster.:
Re: GD Scan giving me an error when I try to connect
Ok, that's what I was afraid of. All good though, it was dirt cheap (which probably should've been a sign that it wouldn't work lol). I'll get the real cable and go from there. Thanks so much for the help Gary!