P.I. Engineering User Forum

Product Support, Technical Questions and Answers, and Examples for P.I. Engineering Products

You are not logged in.

#1 2017-09-17 18:20:24

johnv2pt0
Member
Registered: 2017-09-17
Posts: 2

Xkey 24 - Something went wrong, program crash

Hi,

My xkeys 24 usb has started crashing upon startup after a script mismatch.  If something has changed on my system I don't know what it is.

Problem:
Upon opening macroworks 3.1 I get an error; "Something went wrong.  Contact tech support blah blah"

After closing that message it gives me a script mismatch error and asks me to write/not write/cancel.  When I choose write to device, it goes through the write process (bar moves on window and light on device blinks) and then crashes macroworks.  No matter what I choose the program crashes immediately after the error messages.

I've made sure:
- Antivirus is off
- Running program as admin
- Uninstalled and reinstalled current macroworks version.
- Device is plugged directly into motherboard usb controller and not a usb hub.

Here's my error log:

Source       : MacroWorks3g
Method      : AddHWMacro_Pi3
Date          : 9/17/2017
Time          : 4:09:48 PM
Computer   : TUK
Error          : Method not found: 'Int32 MWLib.Util.HidToAscii(Int32)'.
MW3          : v.1.1.1.89
Handled     : False
Stack Trace : at MW3g.FormMain.AddHWMacro_Pi3(String rawmacro, KeyState keyState, Boolean forScript, Boolean& blocker, List`1& LargeKey)
   at MW3g.FormMain.LoadMacros_HW_Device(Boolean DevConverted, Boolean updateScript, SortedDictionary`2 HWMACROS_Dev)
   at MW3g.FormMain.ReadDevice(Boolean progressBar, Boolean devConverted, Boolean updateScript, Boolean GUIHWMode)
   at MW3g.FormMain.SelectDevice_via_Combobox(DevItem itm, Boolean connected)
   at MW3g.FormMain.comboBoxDevice_SelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at ControlLib.ComboBoxEx.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   at System.Windows.Forms.ListControl.set_SelectedValue(Object value)
   at MW3g.FormMain.comboBoxSelectValue(ComboBox c, Object value)
   at MW3g.FormMain.SelectDevice_via_MW3r()
   at MW3g.FormMain..ctor(String[] args)
   at MW3g.Program..ctor()
   at MW3g.Program.Main(String[] args)
Message : Method not found: 'Int32 MWLib.Util.HidToAscii(Int32)'.
<<--------------------------------------------------------------------------------------------------->>



Any help you can provide is greatly appreciated!

Offline

#2 2017-09-18 08:34:02

PIE Liam
Technical Support Specialist
From: Williamston, MI
Registered: 2016-01-21
Posts: 48
Website

Re: Xkey 24 - Something went wrong, program crash

Save a copy of your script file because the instructions below will reset your device:
With your unit unplugged:
Uninstall MW3.1
delete the "PI Engineering" folder you find here C:\Program Files (x86)
delete the "PI Engineering" folder you find here C:\Users\YourUserNameHere\AppData\Local (important to get both of these)
Re-install MW3.1 and set to Run as administrator right click the “Launch MW3.1” icon this installation has placed on your desktop and select “Properties>Compatibility tab” and place a checkmark in the “Run this program as an administrator” box then “Apply”
Finally reboot your computer completely
After reboot, use the EraseHWMacro tool found here C:\Program Files (x86)\PI Engineering\MacroWorks 3.1 to wipe your unit's memory.
Now relaunch MW3.1 and retest (one more thing if you are on WIN10 you will need to make sure your .NET 3.5 is both installed and enabled)

Offline

#3 2017-09-18 15:32:38

johnv2pt0
Member
Registered: 2017-09-17
Posts: 2

Re: Xkey 24 - Something went wrong, program crash

Thanks for the quick response.  Everything is working again and I'm bookmarking this thread  ~

Offline

Board footer

Powered by FluxBB