Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional 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 2
Topic:
IR Generator Program
This thread has 16 replies. Displaying posts 1 through 15.
Post 1 made on Thursday October 15, 2009 at 19:45
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,155
I have just placed a new application on my web site (www.the-gordons.net). The application is a general purpose IR pattern generator with full documentation and several sample files which are used to drive the program. The program is actually in use by several component manufacturers to test IR receivers in their equipment and to generate the Pronto HEX files for their equipment for publication.

Each driver file fully describes the IR protocol and command set for a single device. The documentation describes how to build your own driver files for other components providing you have the requisite engineering information.

The program will emit IR if your PC has a USB-UIRT attached. It will generate IR patterns in Pronto hex format either individually or en masse, or build a full ccf for the component with all IR commands included.

There are two installatrion setups provided, one for Windows 7 and one for XP. The program is the same in both cases but the installation files are slightly different.

Feel free to use it and make your own IR driver files. Feedback appreciated and as usual I will answer all questions.
Post 2 made on Thursday October 15, 2009 at 23:32
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
Cool!

Thanks Barry.

Now I have something else to play with.:)


Cheers
Jason
Post 3 made on Thursday October 15, 2009 at 23:56
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
I tried to install on XP PRO SP3 and got an error.

I double clicked on Setup Application and got this,

Setup
Could not open the file named:
Setup.LST

Clicked Ok.

Then I get,

Setup
SETUP.LST
The SETUP.LST file could not be copied - Setup cannot continue.


Any ideas?


Cheers
Jason
OP | Post 4 made on Friday October 16, 2009 at 11:27
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,155
Jason, Unfortunately not unless you want to do it the hardway.

The XP version installs fine under XP SP2 which is what I run. To do it the hardway:

Unpack the cab file (it is a zip archive) into a folder. Open the lst file. The lst file will tell you where everything goes. Copy what ever does not go into windows sys from the cabinet file into the folder you want to run the app out of (I use C:\Program Files\IRgen\) . Run the app if it states that it is missing a dll or some such thing then the dll is in the cab file. Copy it into C:\Windows\system32\ and register it using regsvr32. In that way you do not overwrite your versions. Add all the ini files supplied in the other download into the app folder. Run the app.

Let me know how you make out. I am curious why the setup I am using which is from MS does not run properly on SP3.

The program makes no registry entries by itself.

Last edited by Barry Gordon on October 16, 2009 18:15.
Post 5 made on Friday October 16, 2009 at 13:33
makitamark
Advanced Member
Joined:
Posts:
April 2004
984
barry, does it run on Vista?
OP | Post 6 made on Friday October 16, 2009 at 18:16
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,155
One of the two versions should. They are bothe same, the setup files are different however
Post 7 made on Saturday October 17, 2009 at 10:12
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,910
LOL - Vista? - Is that something you see in the future ahead or instead something that is in the rear-view mirror and you'll never see again.

Windows ME, anyone?
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 8 made on Saturday October 17, 2009 at 23:01
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
Hi Barry,

I got it working.

I just extracted the IRGen Zip and the IRgen_INI Zip (I forgot to download IRgen_INI the first time) and just put them both in the same folder in My Documents (did not worry about C:\Windows\system32\),works fine...thanks!


Cheers
Jason
Post 9 made on Monday October 19, 2009 at 18:55
makitamark
Advanced Member
Joined:
Posts:
April 2004
984
On October 17, 2009 at 10:12, Lyndel McGee said...
LOL - Vista? - Is that something you see in the future ahead or instead something that is in the rear-view mirror and you'll never see again.

Windows ME, anyone?

cheeky bugger!
downloaded it Barry, and got it working in under 5 minutes which is an achievement in itself for me.
now to work out how to use it....
OP | Post 10 made on Monday October 19, 2009 at 19:11
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,155
Basically the program allows you to generate Pronto IR patterns providing you have the required information. There is no magic in the world, only science we do not understand. An input file basically describes the parameters of the protocol used to encode the IR data and then the IR data (device code, function code and any special info that might be needed).

You can think of the program as taking the description of the protocol and then applying it to each input command statement to produce the pattern. To me the figuring out of the protocol from samples of the pattern as learned by a learning remote is the fun part. The program is just turning the machines crank.

Last edited by Barry Gordon on October 21, 2009 00:32.
Post 11 made on Tuesday October 20, 2009 at 10:17
johnmack
Long Time Member
Joined:
Posts:
October 2005
42

Barry

It's still magic to me.

I've recently changed projectors to a JVC HD750 (RS20) and there is a picture mode (THX) that is not on the remote. I thought that your utility would get me that elusive code.

Unfortunately the only JVC document I can find is 99% concerned with RS232 commands and only mentions IR on the last page; Makehex and a device code of 73.

I have attempted to translate the .irp from Makehex into an .ini file for your utility with a marked lack of success.

The .irp lokks like;

Device=73
Function=0..255

Protocol=JVC  ' Edited 3/25/04 to match timing details from PDF from JVC [Link: jvcdig.com]
Frequency=37900
Time Base=527
Zero=1,-1
One=1,-3
Prefix=16,-8
Form=*;D:8,F:8,1,^88

' Timing details from PDF from JVC [Link: jvcdig.com]
' Carrier = 37.9 kHz
' Header =  8.44ms, -4.22ms
' Zero = .527ms, ^1.055ms
' One = .527ms, ^2.11ms
' Word Cycle = 46.42ms
' Header is before the first frame only and not counted in the 46.42 total


NB the url no longer exists.

I've translated this into;

[System]
Manufacturer     =JVC
Model            =DLA-HD750
INI File Version =1

[Protocol]
Protocol       =JVC
Once Form      =[16 -8],D:8,F:8,1,[^88]
Modulation     =PWM
Bit Order      =LSB
Frequency      =37900
Time Base      =527
One            =1,-3
Zero           =1,-1

[Commands]

Picture Mode       =73; THX:111, Natural:106
Aspect             =73; 16x9:38, 4x3:37, Cycle:119
 
I've gleaned an idea from your documents what everything means except the 1 and ^88 in the Form statement. I have tried omitting the 1 and using ^88000 but I still get no response.

A learn of the Natural Picture mode gives me;

0000 006D 0029 0000 0027 0000 0004 0000 0005 0000 0003 0000 0009 0000 0007 0000 0016 00A0 0014 003C 0013 003C 0013 0015 0014 0014 0014 003C 0013 003C 0013 003C 0014 0014 0014 0015 0013 003C 0014 0014 0014 003B 0014 0015 0013 003C 0014 003B 0014 0015 0013 02DF 0013 003C 0014 003B 0014 0015 0013 0015 0013 003C 0014 003B 0014 003C 0013 0015 0013 0015 0014 003B 0014 0015 0013 003C 0013 0015 0014 003B 0014 003C 0013 0015 0014 C760

Even using the parameters from jvc_two_frames.irp only gives me 0021 for the third word.

Can you point me in the right direction/document to make this a science for me?

Thanks

John 





 

Post 12 made on Tuesday October 20, 2009 at 11:17
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
On October 20, 2009 at 10:17, johnmack said...
only mentions IR on the last page; Makehex and a device code of 73.

Maybe that device code is 73 hex, which is 115 decimal.

Try using Device=115 in the .irp file.

A learn of the Natural Picture mode gives me;

0000 006D 0029 0000 0027 0000 0004 0000 0005 0000 0003 0000 0009

What did you learn that from (original remote?)
What did you learn it to? It is a really rotten learn.
But DecodeIr says it is JVC protocol, device 115, function 106.

115 decimal is 73 hex. So if that was a valid learn, whatever document said the device number was 73 meant 73 hex.
Post 13 made on Tuesday October 20, 2009 at 11:40
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
It is also explained here for MakeHex.


Cheers
Jason
Post 14 made on Tuesday October 20, 2009 at 13:08
johnmack
Long Time Member
Joined:
Posts:
October 2005
42
Jason

Thanks for your response.

The learned code came from the orignal remote and was 'learnt' to my TSU9600. This perhaps explains why I've avoided learning codes since I first got a Pronto in 2000.

The document that gave me the device number of 73 is this one; [Link: uk.jvc-service.net]

This clearly states;

"When using MakeHex, you should set “Device=73” in the MakeHex .irp input file."

I'll try 115 in MakeHex and if I can get that to work, I'll come back to Barry's utility.

John

 

 

Post 15 made on Tuesday October 20, 2009 at 13:27
johnmack
Long Time Member
Joined:
Posts:
October 2005
42
Jason

And a device of 115 in MakeHex works.

I'm still not quite there with Barry's utility. The Irgen and Makehex generated codes differ. I shall reread Barry's documentation to see if I can figure out why.

Many thanks for your quick response.

John
Page 1 of 2


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