ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#21306 - 08/30/09 09:39 AM Garbage ascii
Pedro Offline
newbie


Registered: 08/30/09
Posts: 6
I'm trying to do something that should be pretty simple - learning 42 ir codes and creating 42 ascii messages. Program simply transmits a specific ascii message for each received ir. Problem is, all the messages have garbage tagged on the front end, i.e. hearts, spades, clubs, smiley-faces, etc. I've tried everything I can think of, and nothing changes. I'm running the current version of C-Max on an old CPU-XA - could that be the problem? And if it is, is there a way to get an older version of the software for the CPU-XA that would work reliably for this application? Thanks in advance....
Top
#21308 - 08/30/09 10:53 AM Re: Garbage ascii [Re: Pedro]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
My guess is that your controller is configured to send event notification messages (at least for IR events). Use C-Max to retrieve the controller parameters and see if parameters 15 to 18 all set to 0. You probably have at least one of those (probably parameter 17) set to a non-zero value. If this is the case, set parameters 15, 16, 17 and 18 to 0 and test it again.

These parameters can get set to non-zero values by external programs such as Homeseer and HAL.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#21309 - 08/30/09 11:42 AM Re: Garbage ascii [Re: Guy Lavoie]
Pedro Offline
newbie


Registered: 08/30/09
Posts: 6
Thanks a bunch Guy! 17 was set to 1, so I set it to 0 and it appears to work just fine now. This is for a large whole-house a/v distribution system that we're installing tomorrow, so your timely reply is greatly appreciated - thanks again!
Top
#21310 - 08/30/09 01:01 PM Re: Garbage ascii [Re: Pedro]
Pedro Offline
newbie


Registered: 08/30/09
Posts: 6
One more question for you - I had to re-learn one of the 42 ir codes. When you exit out of the learn function, it asks if you want to save the learned ir to disk. If you answer yes at that point, does it re-save the entire ir file, or just the one it just learned? In other words, will the file on disk then contain everything it did plus the new code, or just the one it just finished learning? I did find that by not saving it, param 17 got set back to a 1 - kind of strange, I thought. At least I know the fix now.
Top
#21311 - 08/30/09 02:46 PM Re: Garbage ascii [Re: Pedro]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
It always saves the entire IR memory space (all 1024 IR code locations) so yes, the last saved file will always have all learned codes. This is why this takes a while.

I find the parameter 17 getting set back to 1 unusual. Unless I'm missing something, it wouldn't normally do that. You're only accessing the controller with C-Max, right?
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#21312 - 08/30/09 03:40 PM Re: Garbage ascii [Re: Guy Lavoie]
Pedro Offline
newbie


Registered: 08/30/09
Posts: 6
Thanks again for the quick response, and yes, I'm only accessing it with C-Max.
Top
#21313 - 08/30/09 04:09 PM Re: Garbage ascii [Re: Pedro]
Pedro Offline
newbie


Registered: 08/30/09
Posts: 6
Guy - just an interesting side note. I went ahead and saved the ir file. When it was done I checked param 17 and it was set back to 1 again. Not a big deal cuz I'll probably not touch the programming in this one again, but just thought you might be curious. Thanks for your help.
Top
#21314 - 08/30/09 04:36 PM Re: Garbage ascii [Re: Pedro]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
Yes, that's interesting. I'll make a note to look at it. One last question: are you using C-Max 2.00e?
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#21315 - 08/30/09 04:57 PM Re: Garbage ascii [Re: Guy Lavoie]
Pedro Offline
newbie


Registered: 08/30/09
Posts: 6
Yes - 2.00e5
Top
Page 1 of 1 1


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
1 registered (kuro) and 21 anonymous users online.
Recent Posts
Basic Ocelot/IR-100 Question
by kuro
02/09/12 04:16 PM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
02/09/12 08:36 AM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
02/09/12 08:34 AM
how to post an icon
by manu
02/03/12 03:40 AM
Command Pair
by kuro
02/01/12 12:49 AM
Shout Box

Newest Members
feshh, manu, kuro, chuck214, Funkhauser
2747 Registered Users
Forum Stats
2747 Members
19 Forums
3837 Topics
22714 Posts

Max Online: 67 @ 08/16/11 03:08 PM
February
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29