AlarmDecoder Keypad App Exception

General Discussion

AlarmDecoder Keypad App Exception

Postby patrinehart » Wed May 06, 2015 2:59 pm

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
patrinehart
newt
newt
 
Posts: 1
Joined: Wed May 06, 2015 10:57 am

Re: AlarmDecoder Keypad App Exception

Postby kevin » Thu May 07, 2015 2:01 pm

It appears to be having trouble interpreting expander messages correctly. Could you submit this bug report to ad2usb@support.nutech.com please?
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AlarmDecoder Keypad App Exception

Postby Trevor » Wed Dec 09, 2015 6:23 am

I submitted a problem yesterday this is exactly what I am getting. Was there a solution posted to this?
Trevor
newt
newt
 
Posts: 1
Joined: Tue Dec 08, 2015 12:37 pm

Re: AlarmDecoder Keypad App Exception

Postby kevin » Wed Dec 09, 2015 11:13 am

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.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AlarmDecoder Keypad App Exception

Postby applegate » Thu Feb 11, 2016 3:01 pm

I just installed an expansion panel and am seeing the same exceptions. How do I submit a trouble ticket?
Thanks.
applegate
newt
newt
 
Posts: 3
Joined: Thu Feb 11, 2016 2:54 pm

Re: AlarmDecoder Keypad App Exception

Postby kevin » Thu Feb 11, 2016 3:04 pm

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" />
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AlarmDecoder Keypad App Exception

Postby applegate » Thu Feb 11, 2016 4:18 pm

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.
applegate
newt
newt
 
Posts: 3
Joined: Thu Feb 11, 2016 2:54 pm

Re: AlarmDecoder Keypad App Exception

Postby kevin » Thu Feb 11, 2016 4:21 pm

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.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AlarmDecoder Keypad App Exception

Postby applegate » Fri Feb 12, 2016 9:59 am

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.
applegate
newt
newt
 
Posts: 3
Joined: Thu Feb 11, 2016 2:54 pm


Return to General

Who is online

Users browsing this forum: No registered users and 21 guests

cron