X10 Community Forum

🔌General Home Automation => Automating Your House => Troubleshooting Automation Problems => Topic started by: bkjr on December 07, 2007, 10:36:22 AM

Title: CM17A, firecracker software problem
Post by: bkjr on December 07, 2007, 10:36:22 AM
I have a couple of CM17A running on different PCs on the house, for local room use.
Some time ago, one started bombing out.
When attempting to start the Firecracker software, on one PC, I get a C++ run time error message, abnormal shut down".

I went and downloaded the lasts Firecracker software from the X10 site.

I uninstall the firecracker software, reinstall and it worked.... Until that PC is rebooted!

Every time, after the reboot, the C++ run time error is back when one attempts to launch the firecracker software... every time, if I uninstall and reinstall the firecracker software (without a reboot) it works till that one PC is rebooted.

I took that new install file I downloaded it and put it on another PC that never had the firecracker on it, and it works fine. So I don't think it's the actual copy of the installable program I just downloaded.

 
The CM17a is not being used as a pass through, it's the only item on that serial port.
This PC is a basic Intel Pent 4 3.0gig machine with XPhome and SP2.
Any ideas of where to look past the basic Firecracker software?
Everything else is fine on the machine seems to be fine.


TIA.
-Bob
Title: Re: CM17A, firecracker software problem
Post by: Tuicemen on December 07, 2007, 12:34:40 PM
The problem sounds Like a OS issue maybe an Update messed up a windows dll file!
try doing a Check disk of the drive windows is installed on.
Make sure to check both:[li]Automaticaly fix file system errors [/li]
[li]Scan for and attempt recovery of bad sectors[/li]

[/list]
Note: A reboot is needed to perform these tasks and it will take some time to perform!
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 07, 2007, 12:49:15 PM
Tuicemen,
Thanks for the reply.
I've been through all of the basics and goodness, including scans for virus, spyware, malware, and used HiJack this to check for irregular entries in the registry.
Made sure I had the latest for MSVisual C++ and the Sun Java.
I have the same versions on the other machines, which are fine.
The only thing that particular machine was lacking was IE 7, still had IE6 on it, since I primarily use FF. I updated IE on the machine, still same problem.

I agree it sounds like a .dll that's "different" enough, or some conflict of sorts with something else using the VB environment maybe. If I remember correctly, (it's taken me a bit to get around to posting a Q about the problem here since I've been tinkering with the problem) it was a MSVisual C++ run time error.

I was hoping someone new just what parts of each was used, what .dll's to look for or try replacing.

There's nothing else on the PC that bombs, all works well and it's clean.

I've been googling it to death, and haven't found any other posting about it anywhere, and I searched here a bunch before posting.

Seems like I have an odd problem.

Title: Re: CM17A, firecracker software problem
Post by: Tuicemen on December 07, 2007, 12:54:01 PM
Have you tried any of the other free software for the CM17A?
If they experiance the same problem it might help track down the offending DLL! ;)
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 07, 2007, 12:57:47 PM
Have you tried any of the other free software for the CM17A?
If they experiance the same problem it might help track down the offending DLL! ;)

No I haven't just the firecracker software.
What other free software will work with the CM17A for control of the x10 light switches and lamp modules?

TIA
Bob
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 07, 2007, 01:00:18 PM
.
Here's the screen cap of the error message....
.
(http://www.tdr4x4.com/im/FCRuntimeerror.gif)
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 07, 2007, 01:08:42 PM
I have X10 Active home pro on this PC, my main workhorse. But the AHPro module isn't run live with AHPro on the machine.. the moduel is off on it's own in an outlet.

I used to have Firecracker on this machine too,  But took it off.

I just tried installing it on this machine and that's where I got exactly the same error message...
So now it's two machines.
Darn if I could figure out what the main difference was between them. I use all the same software on all the machines.

Hope I just didn't break  AHPro by trying to install the firecracker!..
I'll have to grap the module from the outlet it resides in and fire it up.

(EDIT>>) AHPro works fine.. just Firecracker that's has the same error as the other machine.


Title: Re: CM17A, firecracker software problem
Post by: Tuicemen on December 07, 2007, 01:14:31 PM
Ah! there is the problem! ;)
AHP and Firecracker can't be loaded on the same machine!
The AHP software overwrites files needed for Firecracker and makes it unusable!
Try an other freeware progrram for the CM17A Firewox (http://www.triplewhitefox.com/tech/fireworx.htm) works well with the AHP software installed on the same machine! ;)
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 07, 2007, 01:25:03 PM
Ah! there is the problem! ;)
AHP and Firecracker can't be loaded on the same machine!
The AHP software overwrites files needed for Firecracker and makes it unusable!
Try an other freeware progrram for the CM17A Firewox (http://www.triplewhitefox.com/tech/fireworx.htm) works well with the AHP software installed on the same machine! ;)

Ok, so that explains this, my work horse machine I just tried it on - which has the AHPro on it.
But not the other machine in the other room where this problem first showed it's ugly head, it's never had any X10 software on it but Firecracker.

Thanks for the link and other program, I'll give it whirl and post results.

-Bob
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 07, 2007, 01:41:14 PM
Fireworx works on this machine (the one with AHPro), just need to get a chance to put it on the other machine and give it a whirl.
I'm assuming the problem on this machine is the AHPro as you say.
And some .dll as we both think on the other.

This machine with AHPro, doesn't act the same... when I installed Firecracker, it didn't work at all. Didn't have to wait for a re-boot for the problem to show it's ugly head.
The other machine, firecracker works right after installing it, then breakes after a re-boot of the PC.


Certianly not the nice interface of the PalmPad that the Firecracker offers!

Are there any others you could suggest that are inlines of what the firecracker virtual palm pad is?

it's great on the desk top of the 'puter.

tnx
-Bob
Title: Re: CM17A, firecracker software problem
Post by: Tuicemen on December 07, 2007, 01:47:25 PM
I just checked my software back ups and find I have 2 installers for the Firecracker which one have you been trying?
The one named Xfire.exe  seems to be my most recent add!
I have firecracker installed on my AHP machine and don't get the error but it won't work on this machine (works on my others without AHP installed)
On the machine that has no other X10 software installed uninstall Firecracker then delete its folder as well as the folder
C:\Program Files\Common Files\x10, get a new copy of the FireCracker installer then reinstall! The other CM17A software  (Firewox) won't be afected!
There are some other freeware programs out there doing a google search for CM17A will turn some up!
Possibly even some with a nicer user interface! ;)
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 07, 2007, 02:22:12 PM
I'm googling now and yes found  a few, one that's free, another that seems to have been a take off of the other you suggested but with a palmpad style interface, but $30.


I've tried deleting all the files in the PF\CF\X10 directory on the other machine when I was tinkering with the problem.
I noticed that the uninstal wasn't deleting certain files there.
My feeling is, but I can't catch 'em on the install messages as they go flying by, that Firecracker is putting a few files somewhere else other than the directory we're talking about and PF\Firecracker.... Which isn't much but a log and shortcut, so nothing there of any thing to delete.

Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 07, 2007, 11:14:41 PM
Update....
On the PC without the AHPro:
I found another version of the Firecracker software on the X10 site, that is NOT Linked on their software download page, but rather on the Firecracker Product/Sales page.
I installed that one, and it works on the PC without AHPro. But still bombs on the one with AHPro, as you said it would Tuicemen.

The one on the download page
http://www.x10.com/support/support_soft1.htm
 is named...
xfire.exe
It's the one that would work right after install, but bomb after rebooting the machine and produce the error above.


The one that worked has a link on this page:
http://www.x10.com/automation/ck18a_s_ps32.html
(and a few other pages have the link to the same file to download the same file name...)
and is named...
ck18a.exe
After doing a clean install of this file, the virtual Palm Pad hasn't failed to open after rebooting the PC.

X10 folks... you have a problem on your website....!!!


Now,
I found a real fun project.
I'm not a programmer, just a EE, but I've taught myself in the past some basics with PHP, JAVA, and I've been doing webdesign since 95....
So I'm no programmer, but I figure things out it out and this one was worth doing, it was fun in the end...
Here's a MS VB project to make your own custom desktop Firecracker controller. You only need to invest some time and a down load of
MS Visual Basic 2008 Express Edition, which is FREE!

Then download the project files from this page:
http://www.rentron.com/FireCracker.htm
 Which also walks you through it a bit. I didn't need any of that info, more so was learning the structure of the buttons, windows, and commands and how MS VB editor worked.
I just wanted On and Off control. The gent that did it has all the required communication instructions for the Firecracker's on and off and dim and brighten.

The sample project files were done in an older MSVB editor, but the new one will import them and with about an hour of some self tutoring and picking and hacking, I made what I needed from it. Adding Fields and buttons for unit codes, and have the unit codes and house codes preset to where I want them for each PC, for each room. But still left the drop down window of temporary changes are needed for a unit code or house code. The fun part is, it's easy to totally make a new one, edit or change, and just plop the new one on the machine.
I left a couple of spare channels.

To run the .exe you'll make from the MSVB project, you need .NET Framework 2.0 (you can down load it through auto update for MS XP, 2.0 and 3.0 are available, I took 2.0 since that was what was recommended and installed it on the other machine)(or go straight to here.. http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en).

On the machine you installed the MSVB2008 on, you'll get the .NET Framework with it.. but to run what you built on a different machine, you'll need the .NET Framework on that different machine.

It ain't as pretty as the virtual Palm Pad, but it's fun and works with the AHPro installed.
Here's two I made... (The pull down adjustable windows, you can set the presets on them, so they are what you want them to be as their defaults when it starts up - no need to readjust each time)

(http://www.tdr4x4.com/im/custom-firecraker-controller.gif)  ........  (http://www.tdr4x4.com/im/custom-firecraker-controller-2.gif)

Title: Re: CM17A, firecracker software problem
Post by: Tuicemen on December 09, 2007, 04:13:14 PM
bkjr :
Thanks for sharing your finds! ;)
Nice to know exactly which firecracker file was causing the problem!
You get a helpful from me for that! ;)
As for the projects you've created!
Don't stop playing! You'll find the way to create an interface that looks even better then the PlamPad interface, or at least the same!
Hint: Play with the picture box and hiding form1!  ;)
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 09, 2007, 05:07:12 PM
Tuicemen ,
Thanks for the help and feedback.

Yea, the ck18a.exe, worked just fine on the PC without the AHPro.
At the same time I had gotten the custom controller working as well.
Ok well.


Thanks for the tip, I started playing with some of the features in the "properties" to see what they do.


I'll peek into the one you mentioned. I guess that combined with a "background" pix of my choice, and hiding form1, we get the image as the item, just not the background.. cool.   My daughter would probably like one looking like an Ipod.

I happen to like the palm pad to be honest. So if I can emulate something like that, that would be cool.

I found some example code for sending the application to the notifcation tray. But I don't have it working yet.
Spent some time on it last night. I need to learn a lot more to get the example code migrated into my project.

Title: Re: CM17A, firecracker software problem
Post by: Tuicemen on December 09, 2007, 07:55:06 PM
You'll find a lot of help with code in chat rooms!
Even the one I link to in my posts if I'm on or one of the more experianced programers is online! ;)
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 09, 2007, 08:49:44 PM
Thanks, I'll have to have a look.
I've gotten a few more revisions into it tonight.
I have the Icon working in notification tray working with context menus for brining the apps back up and or closing the controller all together.

I learned how to kill the top control bar, so it's a clean window that would look good with an image to mock a controller,  but I then loose the move capability, and haven't learned yet how to call up the move command in a context menu.. keep running into errors.
Learned how to open it where I want it on the screen too.
Lots of baby steps.. but I'm tearing into it as time comes.

Any hints to call up the "move" comand to work from a contextmenu?

TIA
-Bob

Title: Re: CM17A, firecracker software problem
Post by: Tuicemen on December 10, 2007, 05:54:09 PM
Any hints to call up the "move" comand to work from a contextmenu?

Nope, I haven't played with that much myself! ::)
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 10, 2007, 06:20:46 PM
Did a few more things last night, but still haven't conquered the issue of calling up the move window function.
Thanks. I was hoping you knew. I guess sooner or later I'll figure it out and will ask on one of the forums.

Made a Ipod Shuffle desktop X10 Firecracker controller for my daughter. It's set up for unit code 1-4, she's uses 2, had the RX module with nothing plugged into the outlet.
and saved space for a 4th.  I'll just have to modify the text if she adds something else, and recompile.
That's the only negative about the simple VB controllers I'm doing. But hey, it's not like I'm changing house codes. Haven't changed them in 12 years.
It's fixed HC and fixed UCs. The square in the middle closes the app, the pause puts it down on the notification try.

Also there's a right key click menu when you click over the body... to Close it and to Move ... but the Move isn't working as mentioned.
There's also a context menu / right key menu when in the notification icon tray,  to Close or Bring it up - a double click also brings it up.
It's fun...

(http://www.tdr4x4.com/im/shuffle.jpg)


I also made a Palm Pad.. the preloaded HC can be changed, but doesn't stick.
Text labels, have to be filled in in the MS VB... then compiled.. but good for my uses.
The adjustable HCs let me play if needed.
I can recompile it wiith the UCs adjustment showing for each of the 8 channels, so I could play with them if needed, but figured it looked neater without them.
The switch for 1-8 and 9-16 doesn't function.
The dimmer buttons... left works to close the apps, the right send it to the notification tray. Same context / right key menus as above.
One of these nights I'll figure how to make the LED flash when hitting a UC button.

(http://www.tdr4x4.com/im/fixhcpalmpad.gif)
Title: Re: CM17A, firecracker software problem
Post by: Tuicemen on December 10, 2007, 08:57:23 PM
Awesome work!
I did some digging, here is the code to move the Pic:
Code: [Select]
Public Class Form1
Private mouseOffset As Point
'************mouse movecode**********************
    Private Sub Pic_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Pic.MouseDown

        mouseOffset = New Point(-e.X, -e.Y)

    End Sub

    Private Sub Pic_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Pic.MouseMove

        If e.Button = Windows.Forms.MouseButtons.Left Then

            Dim mousePos As Point = Control.MousePosition

            mousePos.Offset(mouseOffset.X, mouseOffset.Y)

            Location = mousePos

        End If
End Sub
End Class
Hope you find it helpful! ;) ;) ;)
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 10, 2007, 09:21:20 PM
I've been googling and researching and haven't seen those commands.
Looks like a winner.

tnx a bunch, will try the code next....

-Bob
Title: Re: CM17A, firecracker software problem
Post by: bkjr on December 15, 2007, 06:58:27 PM
Tried the code the other night, worked my way through it and changed the variables to fit in to what I have set up.
But when compiled for testing it bombs. So next step for me is to learn what the error means and how to fix it!....