View previous topic :: View next topic |
Author |
Message |
CollieJim
Joined: 02 Jan 2007 Posts: 26 Location: Western Australia |
Posted: Wed Jun 06, 2007 4:50 am Post subject: source code for ir.exe |
|
|
Is it possible to get the source code for IR.EXE? If so, where is it?
The parallel port on my ancient laptop failed, so I got a USB to Parallel Converter. Only to find it does not work.. I'm not sure why. The printer works with it. The cable I'm using is Tommy Tyler's "micro perf" circuit, which is powered by the remote.
Anyway, I have a USB Experimenters kit that I should be able to use if I can get IR's source code.
TIA
Jim |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Wed Jun 06, 2007 7:44 am Post subject: |
|
|
IR.exe doesn't work with USB-to-Parallel converters because it uses "bit banging" to transmit the data, so the source code won't help. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Wed Jun 06, 2007 8:54 am Post subject: |
|
|
What you need is a USB-JP1 cable. I purchased one of these, and I must say its much more reliable than my Parallel-JP1 cable. I fiddle with the batteries on each and every JP1 remote that I have, to get them to work with the Parallel-JP1 cable, but the USB cable works all the time. |
|
Back to top |
|
|
CollieJim
Joined: 02 Jan 2007 Posts: 26 Location: Western Australia |
Posted: Wed Jun 06, 2007 9:03 am Post subject: |
|
|
Thanks. I live in Australia and am in the process of verifying postage for a USB-JP1 cable from DIY-Gadget.
Without knowing the details of the protocol used to communicate with the interface (are they available?), giving 'bit banging' as a reason does not really tell me much.
With respect to my experimenter's board, I'm not thinking in terms of USB to Parallel. The board has 2 input lines and allows explicit independent control of 8 lines out. |
|
Back to top |
|
|
johnsfine Site Admin
Joined: 10 Aug 2003 Posts: 4766 Location: Bedford, MA |
Posted: Wed Jun 06, 2007 9:28 am Post subject: |
|
|
If you could understand the IR.exe source code and you could recompile after minor changes, it sounds like your USB experimenter's board would give you plenty of control to make a new kind of JP1 interface.
IIRC the development system used to compile IR.exe is "Delphi". The language is Pascal (with certain Delphi specific extras).
I expect that would be harder and take longer than getting a JP1 USB cable. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
|
Back to top |
|
|
CollieJim
Joined: 02 Jan 2007 Posts: 26 Location: Western Australia |
Posted: Wed Jun 06, 2007 1:04 pm Post subject: |
|
|
Pascal would not be much of a problem (I've been banging my head against the Silicon Wall for the past 30 years), but I don't have Delphi.
Rob, sounds good. How much is the USB cable, and how do I arrange payment? |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Wed Jun 06, 2007 3:56 pm Post subject: |
|
|
CollieJim wrote: | Rob, sounds good. How much is the USB cable, and how do I arrange payment? |
Click on the "Rob's Remotes For Sale" link in my sig for more info. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Wed Jun 06, 2007 11:41 pm Post subject: |
|
|
Hey Jim,
Postage will be just $3 US. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
e34m5
Joined: 14 Oct 2003 Posts: 675 Location: Atlanta |
Posted: Thu Jun 07, 2007 10:09 am Post subject: |
|
|
You would need Delphi to work on the IR code. I did some work on it a couple of years ago.
IIRC there weren't any special third party components used in IR.exe. It was all standard Delphi. _________________ Paul |
|
Back to top |
|
|
CollieJim
Joined: 02 Jan 2007 Posts: 26 Location: Western Australia |
Posted: Thu Jun 07, 2007 11:21 am Post subject: |
|
|
Thanks. For a once-off project it appears a bit cheaper to get the USB cable... |
|
Back to top |
|
|
|