Page 1 of 1
AlarmDecoder Keypad App Exception
Posted:
Wed May 06, 2015 2:59 pm
by patrinehart
Hi,
My AD2USB KeyPad App generates a GUI exception when I open doors, etc that are monitored by the alarm system. I am using Window 7 64 Pro.
"Index and length must refer to a location within the string.
Parameter name: length"
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at ad2usbgui.MainWindow.ProcessEXPMessage(String Buffer, String Type)
at ad2usbgui.MainWindow.ProcessBuffer()"Index and length must refer to a location within the string.
I tried RunAs administrator for the application as well.
-Pat
Re: AlarmDecoder Keypad App Exception
Posted:
Thu May 07, 2015 2:01 pm
by kevin
It appears to be having trouble interpreting expander messages correctly. Could you submit this bug report to
ad2usb@support.nutech.com please?
Re: AlarmDecoder Keypad App Exception
Posted:
Wed Dec 09, 2015 6:23 am
by Trevor
I submitted a problem yesterday this is exactly what I am getting. Was there a solution posted to this?
Re: AlarmDecoder Keypad App Exception
Posted:
Wed Dec 09, 2015 11:13 am
by kevin
The solution is to contact support directly here - An actual bug in the software - I think Sean has sent you a new and fixed executable via the support ticket you created.
Re: AlarmDecoder Keypad App Exception
Posted:
Thu Feb 11, 2016 3:01 pm
by applegate
I just installed an expansion panel and am seeing the same exceptions. How do I submit a trouble ticket?
Thanks.
Re: AlarmDecoder Keypad App Exception
Posted:
Thu Feb 11, 2016 3:04 pm
by kevin
Easy fix for now is add the entry into your alarmdecoder.exe.config for this expander device.
<Sensor Id="401" Type="EXPANDER" Name="01" Template="4219" Layout="binary"
Coords="400,340" />
Re: AlarmDecoder Keypad App Exception
Posted:
Thu Feb 11, 2016 4:18 pm
by applegate
That didn't fix it but it's probably not a problem for me since the GUI still seems to work and the only sensors on the my expansion module are the panel tamper and glassbreaks and so should rarely fault.
Thanks.
Re: AlarmDecoder Keypad App Exception
Posted:
Thu Feb 11, 2016 4:21 pm
by kevin
Just a small assumption based off of the previous exception. If you could email your full exception log to
ad2usb@support.nutech.com we can come up with something that'll fix it. probably some wrong ID or some such in the sensor definition.
Re: AlarmDecoder Keypad App Exception
Posted:
Fri Feb 12, 2016 9:59 am
by applegate
I modified the ad2usbgui.exe.config by putting back the example EXPANDER and RELAY types (ID 407-415) and the exception has gone away. I had removed all the example sensors and replaced them with my own zones. I have not included my 5834-4 fobs but that hasn't caused problems.