Your Universal Remote Control Center
RemoteCentral.com
Discrete Code Hunter Forum - View Post
Previous section Next section Previous page Next page Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Page 1 of 5
Topic:
Convert KASEIKYO to Pronto HEX?
This thread has 65 replies. Displaying posts 1 through 15.
Post 1 made on Tuesday April 15, 2008 at 13:18
gimp
Long Time Member
Joined:
Posts:
April 2008
15
How do I convert KASEIKYO code to Pronto HEX?
Post 2 made on Tuesday April 15, 2008 at 15:37
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
With makehex.

But you need to know which Kaseikyo. The standard clearly leaves some of the details up to the manufacturer and it appears some manufacturers even do their own thing for some details the standard seems to specify.

If you tell me the form in which you have the Kaseikyo data and which manufacturer's Kaseikyo data it is, I can give you more specific instructions.

Most often when someone asks this question it is about Denon's Kaseikyo codes. In that case, just search the forum. It has already been discussed at extreme length and all the translations have already been posted.
Post 3 made on Friday April 18, 2008 at 21:03
brodyboy
Long Time Member
Joined:
Posts:
April 2008
375
On April 15, 2008 at 15:37, johnsfine said...
With makehex.

..........|
Most often when someone asks this question it is about
Denon's Kaseikyo codes. In that case, just search the
forum. It has already been discussed at extreme length
and all the translations have already been posted.

John,

I appreciate that you give a lot of help on this forum and that you're as knowledgeable as anyone here. But several times I've tried looking for something, and find that tons of people have asked the same question I'm researching, frequently getting a response from you to the effect that "this has been asked before and answered elsewhere...search the forum."

The problem is that this forum's search function is pretty clumsy and when we do get results, it's often a long list of references to other people asking the same question and you replying "already answered....search for the forum." I end up feeling a little like a dog chasing its tail.... I'd guess that most of these people already searched and couldn't efficiently find an actual answer; that's why they're asking.

My suggestion? Some basic links for the most common questions would be really helpful. For example, for the tons of people that have questions about converting codes, a link to a location that discusses the actual conversion implementations of Makehex would be a lot more efficient than continuing to read "how do I convert" questions until we stumble across it.

Again, I appreciate the time and effort you put in here, but I just really think that references to solutions would make the forum a lot more efficient than suggestions to continue searching.
Post 4 made on Saturday April 19, 2008 at 12:03
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
Sorry. I'm not organised enough to build my own index of common questions.

I know the forum search function is pretty clumsy. I'm often bothered by that myself. I expect there is some good way to get google to search just RC forums, but with the full power of a google search. I'm not organised enough to figure that out either.

On the topic of this thread, I did ask for more specifics and didn't get any reply. I just checked gimp's other post, so I see he did mean Denon Kaseikyo. Hopefully that means he found one of tgrugett's posts on Denon Kaseikyo (tgrugett tends to post info on translating Denon and Sharp signals, much of which originated from me, but he posts it in a more organised form and mixed in with more info from Denon and Sharp and from other users).

On a quick forum search, the best post of mine on this subject I found was
[Link: remotecentral.com]

That links to one of tgrugett's posts, that is clearly not his best on the subject. The forum search is clumsy enough I can't find tgrugett's best posts on this subject.
Post 5 made on Saturday April 19, 2008 at 17:52
Rob100
Long Time Member
Joined:
Posts:
July 2007
79
I have just submitted a program to Remote Central to generate pronto hex codes from the Denon Kaseikyo codes :)

Will probably take a couple of days before it's listed...

Rob.
Post 6 made on Sunday April 20, 2008 at 04:41
brodyboy
Long Time Member
Joined:
Posts:
April 2008
375
Did you write and test the program yourself?
Post 7 made on Sunday April 20, 2008 at 09:30
Rob100
Long Time Member
Joined:
Posts:
July 2007
79
On April 20, 2008 at 04:41, brodyboy said...
Did you write and test the program yourself?

Yes written and tested by myself with my AVR-3808. But credit where it's due - the hard work is done by John's "MakeHex". My program is just an easy to use GUI.

Program is here...

[Link: remotecentral.com]
Post 8 made on Sunday April 20, 2008 at 12:51
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
I just tried it. Pretty nice.

With just a bit more effort your batch mode could create a CCF file instead of a .hex file. That would be more convenient for most users.

I just tested Hex2CCF and was a bit surprised to discover only its panel numbering is limited to the 0 based system used by IrPanels. Its button numbering follows the .hex file.

So if your install instructions also requested the program hex2ccf.exe, your batch mode could issue the command
hex2ccf filename.hex filename.ccf
and get a CCF file with properly named buttons (inside unfortunately incorrectly named panels if the first function number isn't zero).

For users who are used to GUI's, it saves a lot of effort to not need to
1) open up a command prompt
2) cd to the correct directory
3) type that command.

Also, some of the Denon PDF files (such as AVR4306_AVC4320_remote_codes_list.pdf) include the function numbers in decimal. So it would help if your program had the option to type in the number in decimal instead of backwards binary.

I'm not sure (since the PDF I have doesn't show any nonzero values in bits 39, 40). But I expect when Denon shows that decimal number it only covers bits 29 to 38. So you might want to call it "Decimal Data" rather than "Decimal Function" and your program would still need to add the contribution of bits 39 and 40.

That would also require a paragraph in your documentation to explain that the number Denon puts in the column named "No." in some PDF files can be used in place of the binary data bits 29 through 38 (to save the user a lot of typing).

You're probably a better GUI designer than I am. But in case you like it, the way I'd change your GUI would be to add space above the "Data" label and below the "Copy to Clipboard" with an I/O field and a checkbox for decimal data. With the box checked the decimal data is input and the backward binary data output. Wity the box unchecked vice versa.

Last edited by johnsfine on April 20, 2008 13:11.
Post 9 made on Sunday April 20, 2008 at 15:22
brodyboy
Long Time Member
Joined:
Posts:
April 2008
375
Rob,

As regards John's recommendation, those changes may be helpful for some people, I'm sure. But for those non-experts amongst us, it is a HUGE help. Assuming it's accurate, it's far more usable than makehex alone for just generating a bunch of codes that we need. BRAVO!! And great thanks....
Post 10 made on Sunday April 20, 2008 at 15:37
brodyboy
Long Time Member
Joined:
Posts:
April 2008
375
What does the error code "count exceeded" mean?
Post 11 made on Sunday April 20, 2008 at 16:24
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
Any idea what you did to cause it?
Post 12 made on Sunday April 20, 2008 at 17:06
Rob100
Long Time Member
Joined:
Posts:
July 2007
79
John - Thanks for the ideas/comments. I'll take a look at them properly later in the week. Sounds easy enough to implement.

Need to finish setting up my Pronto first since changing to the 3808. Driving me mad having a half working macro's at the moment!

One question John... How do you determine the correct frequency from the Denon binary? For receivers it seems to work fine at 37000, but I was thinking of adding support for DVD/Blu-ray players. Last night I was looking at (using IRTool-Mod and DecodeIR.dll) a learnt Kaseikyo command which someone had posted on this forum and the frequency was 38xxx or so.

Brodyboy - Let me explain how my program works when creating a code and what a pain in the a** VB (Visual Basic 6) is at times. By the way I'm no VB expert and this is the first thing I've done from scratch in about 4 years...

When you call (run) an external program in VB, it does not wait for it to return (end) before continuing. This can be done, but it's not straight forward.

When I call on MakeHex, I need to be sure the temporary output file it creates is there before I try and read it to display in the window. Rather than waiting for MakeHex to return, I wait for the file to be created and I then try to open it with write permission - this means that MakeHex has finished writing to the file and has closed. Obviously something could go wrong and I need a "get out", so I count a number of times during these loops and if the file isn't created or I can't get write access then the error you've seen. In total I only wait for 1 second, but in my tests on my ageing PC's (Althon XP3200 and P4 3.52Ghz) this only take 300ms or so.

What's your PC spec? What OS? Maybe I need to increase this.

PM me your e-mail address and I'll send you another version with this value increased to see if that fixes it.
Post 13 made on Sunday April 20, 2008 at 17:07
Rob100
Long Time Member
Joined:
Posts:
July 2007
79
Brodyboy - Sorry forgot to ask if you see this error every time or just occasionally?
Post 14 made on Sunday April 20, 2008 at 17:08
brodyboy
Long Time Member
Joined:
Posts:
April 2008
375
I entered this data string and hit the [Generate Pronto Hex] button. Specifically, it's Function 153 "Band FM":

Zone/Device = Analog Tuner
Remote ID = 1
Genre1 = 0010
Genre2 = 1000
Data = 1001100100
ID = 00

Okay. Now it's doing that with everything I enter. The first couple I tried appeared to work fine, now everything generates the same error window: "Error generating Hex code (count exceeded)"
Post 15 made on Sunday April 20, 2008 at 17:12
brodyboy
Long Time Member
Joined:
Posts:
April 2008
375
Sorry, you both posted while I was writing. I'm running it on a Core 2 Duo (2.2Gz), running 64-bit Vista Ultimate.
Find in this thread:
Page 1 of 5


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse