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-07-09 04:48:03

honggie
Member
Registered: 2017-07-09
Posts: 5

xkey randomly keeps turning on and off or error and closing itself.

hello,

my xkey act weird lately , it keeps turning on and off even i don't use it.

here, what i've try to do but not work.

- change usb hub to the new one.
- plugin directly to pc usb port
- update xkey software
- set 'disable' to USB selective suspend

my pc : Win10 pro 64bit (software mode)

error log :

<<--------------------------------------------------------------------------------------------------->>
Source       : MacroWorks3r
Method      : GetButtState
Date          : 09-Jul-17
Time          : 3:19:47 PM
Computer   : Honggie-i7
Error          : Object reference not set to an instance of an object.
MW3          : v.1.1.1.89
Handled     : False
Stack Trace : at MW3r.Typer.GetButtState()
   at MW3r.FormMain.ProcessTimerEvent(Object obj)
   at System.Threading._TimerCallback.TimerCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._TimerCallback.PerformTimerCallback(Object state)
Message : Object reference not set to an instance of an object.
<<--------------------------------------------------------------------------------------------------->>

Last edited by honggie (2017-07-09 04:49:13)

Offline

#2 2017-07-10 07:43:56

PIE Amber
Technical Software Developer
From: Williamston, MI
Registered: 2016-01-21
Posts: 193
Website

Re: xkey randomly keeps turning on and off or error and closing itself.

Hi,

The error you pasted, did you get this right before having done something in particular with the device? For example, after pushing a button on it?

When the device isn't working properly can you "see" it with MacroWorks 3.1?

Which device do you have? That might be the most important information. Is this a newer Pi3 unit or an old MWII device? Or older?


Amber from P.I. Engineering

Offline

#3 2017-07-10 11:09:24

honggie
Member
Registered: 2017-07-09
Posts: 5

Re: xkey randomly keeps turning on and off or error and closing itself.

PIE Amber wrote:

The error you pasted, did you get this right before having done something in particular with the device? For example, after pushing a button on it?

yes, this error and MW3 shutdown happen only when i'm press the button.
and i've set this button to 'down arrow' command.

but the randomly turn on/off problem happen even when i'm away from my pc


PIE Amber wrote:

When the device isn't working properly can you "see" it with MacroWorks 3.1?

yes, i can see it.


PIE Amber wrote:

Which device do you have? That might be the most important information. Is this a newer Pi3 unit or an old MWII device? Or older?

i've XK-24 Pi3 , just order this year.

Offline

#4 2017-07-10 11:31:33

PIE Amber
Technical Software Developer
From: Williamston, MI
Registered: 2016-01-21
Posts: 193
Website

Re: xkey randomly keeps turning on and off or error and closing itself.

This isn't common. I want to track down what may be happening here.

Next time you encounter this issue, don't unplug the device or restart MacroWorks. Instead go to C:\Program Files (x86)\PI Engineering\MacroWorks 3.1\ and run Device Finder.exe. Go through and press "Find Devices," "Device Info," and "Read Device." Push buttons after choosing "Read Device." Do you get data filling up the box as you press buttons?

I'm also curious what it says for Device Info, as well?

Do you have any larger keys or key blockers installed?


Amber from P.I. Engineering

Offline

#5 2017-07-10 13:57:20

honggie
Member
Registered: 2017-07-09
Posts: 5

Re: xkey randomly keeps turning on and off or error and closing itself.

PIE Amber wrote:

This isn't common. I want to track down what may be happening here.

Next time you encounter this issue, don't unplug the device or restart MacroWorks. Instead go to C:\Program Files (x86)\PI Engineering\MacroWorks 3.1\ and run Device Finder.exe. Go through and press "Find Devices," "Device Info," and "Read Device." Push buttons after choosing "Read Device." Do you get data filling up the box as you press buttons?

I'm also curious what it says for Device Info, as well?

ok, this just happen again.
first it start with on/off 2-3 times when press the button and then MW3 show the error window and close itself.

i've follow your advice and this's a result.
(without restart MW3 i'm press the button and data code show on the box)
Tuesday%20July%2011%202017_00h38m25s_001_Device%20Finder_zpsye9nhnmn.jpg



PIE Amber wrote:

Do you have any larger keys or key blockers installed?

no, i don't change any keycap.just place a label that all.

Last edited by honggie (2017-07-10 14:01:26)

Offline

#6 2017-07-10 14:03:23

PIE Amber
Technical Software Developer
From: Williamston, MI
Registered: 2016-01-21
Posts: 193
Website

Re: xkey randomly keeps turning on and off or error and closing itself.

So you say it starts "on/off" 2-3 times -- do you mean the lights go out? Do you get the "USB unplugged" message? What is happening when that happens? How do you know when it's "off"?

Also: Are you getting this error when pushing the button with MacroWorks 3.1's window open, or with it closed? (Generally we do not recommend playing back macros with the window open.)


Amber from P.I. Engineering

Offline

#7 2017-07-11 04:14:03

honggie
Member
Registered: 2017-07-09
Posts: 5

Re: xkey randomly keeps turning on and off or error and closing itself.

PIE Amber wrote:

So you say it starts "on/off" 2-3 times -- do you mean the lights go out? Do you get the "USB unplugged" message? What is happening when that happens? How do you know when it's "off"?

yes, xkey lights go on and out with usb icon/sound show on pc screen. (like when i plugin and unplug a usb divices)


PIE Amber wrote:

Also: Are you getting this error when pushing the button with MacroWorks 3.1's window open, or with it closed? (Generally we do not recommend playing back macros with the window open.)

MW3 alway closed and stay on taskbar when i'm use xkey.

Offline

#8 2017-07-11 07:34:26

PIE Amber
Technical Software Developer
From: Williamston, MI
Registered: 2016-01-21
Posts: 193
Website

Re: xkey randomly keeps turning on and off or error and closing itself.

It sounds like you may have a defective USB cord on your device. That's the only cause I can think of, other than your USB port itself being bad, for what you describe. If it is less than a year old it is in warranty and we can replace it. Please contact sales@piengineering.com to get an RMA.


Amber from P.I. Engineering

Offline

#9 2017-07-11 09:12:33

honggie
Member
Registered: 2017-07-09
Posts: 5

Re: xkey randomly keeps turning on and off or error and closing itself.

PIE Amber wrote:

It sounds like you may have a defective USB cord on your device. That's the only cause I can think of, other than your USB port itself being bad, for what you describe. If it is less than a year old it is in warranty and we can replace it. Please contact sales@piengineering.com to get an RMA.

Thank you:)

Offline

Board footer

Powered by FluxBB