ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#17787 - 03/18/07 11:56 PM IR MAX Utility Saving LIR File
sash18 Offline
journeyman


Registered: 08/31/05
Posts: 61
Loc: Melbourne
Hi Guy's,

I've recently started trying to clean up my LIR file with all the codes I have taught the LEO 2. Its going to be a tedious task, but I'm willing to put in the extra work to make my IR codes work really well. I have a slight problem though, it seems the utility will not save any changes I make to the last two rows on the LIR data area? Whats the go with this? I initially thought that the whole thing wasn't saving as I was deleting the bits starting from the bottom of the code but its seems that its just the last two rows.....anyone explain?

Here's a brief description of what I do;

- I load my file in the master window
- Copy everything across to the edit window
- Do what I need to do to the individual codes (in the LIR table data area)
- Right click on the actual IR code (back in the edit window - the one I just edited) and click paste from LIR data area.
- I then even right click again and click save and save as.

But even after doing all that, when I try to open them again, my changes on the bottom two rows have not taken effect, they are exactly the same as before.

Cheer's
Sash

Top
#17788 - 03/19/07 08:26 AM Re: IR MAX Utility Saving LIR File [Re: sash18]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
The Data Area shows all 256 bytes of the information stored in a LIR file for that location. Of the 256 bytes, only the first 200 are for the IR code itself. Page 6 of the IR-Max manual shows the byte usage:

Byte 0 – carrier frequency data
Bytes 1 to 199 – signal envelope data
Bytes 200 to 223 – (unassigned)
Bytes 224 to 255 – IR code name

The last two lines of the Data Area correspond to bytes 224 to 255. If you give the IR code a descriptive name in IR-Max, save and then reload the LIR file, you will see that the last two lines contain the ascii codes for the name you gave it (and is now displayed for that code location in the top part of the screen). To make changes for that data, edit the code location name instead of editing the bytes directly.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#17789 - 03/19/07 02:39 PM Re: IR MAX Utility Saving LIR File [Re: Guy Lavoie]
sash18 Offline
journeyman


Registered: 08/31/05
Posts: 61
Loc: Melbourne
OK, so I dont need to edit the last two lines of the code. But I can give each code a distinctive name like 'TV - Channel 10 Code in the edit window instead of having it look like the following mess;

~~~~~~~~~~~~~~~~
I watched the LIR Data Area whilst I changed the name and it seems to be changing the rows above the last two, not the last two directly.

"To make changes for that data, edit the code location name instead of editing the bytes directly."

Can you explain a little better what you meant by this comment? The way I understand it is, to clean up my code, I need to put 00 everywhere after the initial signal itself or were it begins to repeat. I ca also give it a name in the edit window. I'm not sure what you meant by editing the bytes directly, I thought that was the purpose here.

Cheer's
Sash

Top
#17790 - 03/19/07 02:58 PM Re: IR MAX Utility Saving LIR File [Re: sash18]
sash18 Offline
journeyman


Registered: 08/31/05
Posts: 61
Loc: Melbourne
Ops, that mess had other characters after it, guess it didnt quite make it when I submitted the post.

Cheer's
Sash

Top
#17791 - 03/19/07 03:12 PM Re: IR MAX Utility Saving LIR File [Re: sash18]
sash18 Offline
journeyman


Registered: 08/31/05
Posts: 61
Loc: Melbourne
Ok, well I have played around with my first IR code and I think I have done it well. I have posted before and after pics. Would someone be kind enough to tell me if I'm on the right track. I've made it look like the IR Max Manual.

Initial Code;


Modified Code;


Cheer's
Sash

Top
#17792 - 03/19/07 03:16 PM Re: IR MAX Utility Saving LIR File [Re: sash18]
sash18 Offline
journeyman


Registered: 08/31/05
Posts: 61
Loc: Melbourne
I also managed to get rid of that last hump (to te very right) by deleting (00) the last fe in the first section of code. I have not tested them, but I'm assuming these modified codes will work alot better than the initial ones. Can anyone confirm this? Has anyone ever tried both the initial codes and the modified ones and noticed a reliability difference?

Cheer's
Sash

PS: Sorry for posting so much, but I want to nut these out asap.

Top
#17793 - 03/19/07 08:36 PM Re: IR MAX Utility Saving LIR File [Re: sash18]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
The last hump you're referring to is the lead in for the repeat code. In many cases a repeat is not needed (although in the case of Sony 12 bit code, 4 repeats are often needed). There is no harm in leaving them in if the repeat contains the whole code; it adds to the reliability in case the first copy is misread. But in your code above, the repeat looks a simple lead in plus a single pulse and is usually used to indicate a button held down for a continuous change like volume up or down.

The best test is if it works reliably!
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#17794 - 03/20/07 04:31 AM Re: IR MAX Utility Saving LIR File [Re: Guy Lavoie]
sash18 Offline
journeyman


Registered: 08/31/05
Posts: 61
Loc: Melbourne
I did this for my TV codes. They seem to be working alot more consistently. Now if I could just get that IR Blaster to work........

I'll try this with all the codes and see what happens. One thing I did notice was that bringing the powermid closer to the TV made it work alot better which is strange given that it is only 4.5 meters away. It must be that it doesn't like being angled (even slightly - I have it in the corner of the room and my TV is in the middle on the other side).

Cheer's
Sash

Top
#17795 - 03/24/07 05:29 PM Re: IR MAX Utility Saving LIR File [Re: sash18]
sash18 Offline
journeyman


Registered: 08/31/05
Posts: 61
Loc: Melbourne
Ok, I got the IR blaster to work which is great, because now I can get more consistency through my LEO 2. I wonder if the 50Hz PIC chip has anything to do with this consistency factor as well. Anyway, I managed to save my Pioneer DVD/HDD IR codes and they all worked except 4 (Pause, Stop, HDD & DVD Buttons). So I thought I'd clean them all up by the usual IR MAX Method. I did this to all the IR Codes, only to find that none of them work now.

I've included the before and after pictures of the IR COde for the DVD Button, all codes were similar to this where it looked like three signals send in the same button press.

Before;


After;


Some help getting these codes to work would be great. The remote itself work great, I'd now like to tbe able to repeat it via the LEO 2. Thanks in advance.

Cheer's
Sash

Top
#17796 - 03/24/07 09:38 PM Re: IR MAX Utility Saving LIR File [Re: sash18]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
Having the repeats can be a good thing so you might want to put them back (or relearn the codes). Cleaning up codes often means removing partial repeats (like three and a half codes...) and if shortening them to a single repeat works, then you can get quicker action on macros of several codes since they will finish sending earlier. Try relearning the codes that don't work.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#17797 - 03/25/07 05:04 PM Re: IR MAX Utility Saving LIR File [Re: Guy Lavoie]
sash18 Offline
journeyman


Registered: 08/31/05
Posts: 61
Loc: Melbourne
I've been analysing the above code a little more and have found that the first and third secion of the code almost repeats itself. What I mean by that is that its very similar except for about 4 or 5 bits within the code. Has this been copied wrong by the LEO 2 or is it meant to be 3 seperate codes.

I've checked the codes that do work and they are the same (i.e. 1st and 3rd are similar but not exact)

I'm starting to think that the LEO 2 is copying the third codes incorrectly and I should change the 3rd section to exactly what the first section is or delete it altogether as I think its starting to repeat itself after the 2nd section.

Your thoughts?

Cheer's
Sash

Top
#17798 - 03/25/07 07:27 PM Re: IR MAX Utility Saving LIR File [Re: sash18]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
It is normal that IR codes for a given device resemble each other with the differences only in certain parts. The device ID part will be the same but the command part will be different. Some codes have repeats of the pattern while others parity or checksums, etc.

When something doesn't work after editing the code its always best to go back to learning it once again and starting over.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#17799 - 03/26/07 08:04 AM Re: IR MAX Utility Saving LIR File [Re: sash18]
completelyhis Offline
journeyman


Registered: 06/03/06
Posts: 58
where is IRMax to be found, again?
Top
#17800 - 03/26/07 08:07 AM Re: IR MAX Utility Saving LIR File [Re: completelyhis]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
Right here:

http://www.appdigusers.com/forum/showflat.php/Cat/0/Number/187405/an/0/page/0#Post187405
_________________________
"If you don't know what you're doing, do it neatly..."

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
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
Today at 08:36 AM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
Today at 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
Does anyone have a copy of the latest TSE?
by sevenzenith1
01/30/12 05:17 AM
Shout Box

Newest Members
feshh, manu, kuro, chuck214, Funkhauser
2747 Registered Users
Forum Stats
2747 Members
19 Forums
3837 Topics
22713 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