Learned signals UI (Prototype IR function in RM)

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

gfb107 wrote:I'll get everything ready for you by the end of the day.
I downloaded the updated files from SourceForge (boy there were a lot).

I recompiled.

I noticed the GUI for learned signals, but couldn't get it to do anything (using .ir files with various learned signals in them). But you didn't say any of that was ready to look at.

I tried to use the JP1.2 interface to get an idea how things fit together before I start ripping them up. But I couldn't get anything to happen.

I don't actually have time today or tomorrow to work on JP1 DLL interface for RM_IR. I was just looking at what is there now out of curiosity.

When I have time to work on any of this I'll check SourceForge again and then start looking at the .err file etc. to see what is going wrong in access to jp12serial.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

John,

I've checked in some more changes. To make things easier on the user, I've added code to RM to automatically, at run time, append RM's home directory to the classpath, as well as any .jar files in the home directory. I've also added a new contructor to DecodeIRCaller that will load the DLL from a specific directory, rather than just from the path. RM then calls that constructor using the home directory. These two changes make it so that simply unziping Decode_IR_DLL.zip in RM's home directory is all the installation needed for RM to be able to use DecodeIR.dll and DecodeIRCaller.class. No need to set the path or classpath. It also work if you decide to put DecodeIRCaller.class in a .jar file.

I'll email you the updated DecodeIRCaller.java.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

gfb107 wrote:John,

I've checked in some more changes. To make things easier on the user, I've added code to RM to automatically, at run time, append RM's home directory to the classpath, as well as any .jar files in the home directory. I've also added a new contructor to DecodeIRCaller that will load the DLL from a specific directory, rather than just from the path. RM then calls that constructor using the home directory. These two changes make it so that simply unziping Decode_IR_DLL.zip in RM's home directory is all the installation needed for RM to be able to use DecodeIR.dll and DecodeIRCaller.class. No need to set the path or classpath. It should still work if you decide to put DecodeIRCaller.class in a .jar file.

I'll email you the updated DecodeIRCaller.java.
Post Reply