Using PIL-BOX & ILPer to Transfer Programmes from PC to HP41CX?


Hi all,

I've owned HP41's for a long time but am a complete novice when it comes to HP-IL. Recently I decided to purchase a PIL-BOX from Jean-Francois & have been pleasantly surprised at how simple it is to get the communication going with my PC & how reliable the link is via ILPer.

With Jean-Francois' instructions I was quickly able to "print" to ILPer, perform a complete back-up of the calculator to HDRIVE1 & then re-create everything I have in the real calculators within EMU41.

Where I am struggling & would appreciate your advice, is in finding a simple way to transfer new programme files from my PC to the calculators. Have had some success in using DOSLINK to add these programmes to EMU41, then to the calculators, but it seems like a rather awkward way of doing things.

From what I have read, I believe it should be possible to transfer a programme without using EMU41 by converting the file into .LIF then "pointing to it" with ILPer.

I am using WIN41UC/HP41UC to convert programme files I have downloaded in .RAW format to .LIF without any issues. Then I select the .LIF file in ILPer (where it you normally select the HDRIVE.DAT file) + XEQ READP on the 41CX calculator to transfer the file but it doesn’t seem to work. Have checked that the correct file name is in the ALPHA register on the calculator quite a number of times but consistently get the error message: “FL NOT FOUND” on the calculator. Maybe I am missing something so if any of you have any suggestions I’d appreciate them.

Many thanks,



I guess that you need to incorporate the .LIF file into the existing (or a new) HDRIVE1 disk image file by use of a lif utility. It should then appear in the drive directory as seen by the HP 41.

Edited: 24 June 2012, 10:38 a.m.


Hi Michael, did you check what the DIR command give?


Hi Jean-Francois,

Tried the DIR command after I "pointed" ILPer to the programme file post conversion to .LIF format & the following was displayed:

Type: PR
Regs: 33

In view of the different file name from what I was expecting, I changed the ALPHA register to: "INFILE" then executed READP & this appeared to work. I now have the programme I was aiming to transfer on my HP41CX calculator.

Will do some more tests but it seems this "shortcut" works if "INFILE" is used as the file name with READP instead of the actual programme's name.

Thanks again for all your help.




From the HP41UC documentation here:

 RAW file(s) to LIF file ( LIF name = <name> or [infile] )
/r=infile<.raw> /l<=outfile.lif> <name>

You can even transfer a whole group of programs:
  If output file is specified, [infile] can be a directory of RAW files.
For example: hp41uc /r=\rawdir\*.raw /l=hpil.lif



Read some of that last week but I didn't realize the implications when using xeq READP on the calculator :-(.

However, the good news is that within 1 week of receiving your PIL-BOX I am now able to achieve all the HP-IL functionality I was after with my HP41 calculators.

Thanks again for all your help.



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to copy files from 9114B to hard drive via PIL-box? Joe Horn 23 10,311 12-14-2013, 11:57 PM
Last Post: Geoff Quickfall
  HP-41(CL): The easiest way to transfer FOCAL programs from a Linux PC to the HP-41 Geir Isene 13 5,698 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  PIL-box w/o IL cable = paper weight Joe Horn 15 4,962 11-26-2013, 01:05 AM
Last Post: Les Wright
  Box left at HHC Tim Wessman 1 1,605 09-26-2013, 11:05 PM
Last Post: Wlodek Mier-Jedrzejowicz
  HP41CX: Strange serial #... Stephan Matthys 1 1,165 09-13-2013, 01:38 PM
Last Post: Stephan Matthys
  HP IL over wifi ... (ILPer & go71b) Olivier De Smet 12 4,128 08-20-2013, 05:44 AM
Last Post: Olivier De Smet
  ILPer with "auto-extended addressing" Christoph Giesselink 0 985 07-23-2013, 03:28 PM
Last Post: Christoph Giesselink
  41CL :TROUBLE IN FILE TRANsFER aurelio 22 6,130 06-18-2013, 03:44 PM
Last Post: aurelio
  Looking for scans of a HP-19c Box ledudu 5 2,171 01-20-2013, 06:13 AM
Last Post: Lode
  Make PIL-Box ILPer program run on OS X Juergen Keller 6 2,215 09-07-2012, 04:38 PM
Last Post: Hans Holzach

Forum Jump: