Touch periodic table on HP Prime - revisited



The thread about Mic's Periodic Table program went cold a few weeks ago. However, it seemed at the time that it was not always easy for users to get it to work on neither the emulator nor the calculator. Maybe by now, everybody who is/was interested have sorted this out and got the program to work in both environments. However, in case there are still a few stragglers like me, the information below may be of use to some.

First of all, at least on my calculator and emulator, you have to have both the ELEMENTS program and the HP_ELEMENTS installed if you want to run the Touch version. Without ELEMENTS you get a Syntax Error when trying to run the Touch (HP_ELEMENTS) version. You apparently also have to have Integers set to Hex.

After having downloaded both programs and eventually got them working on the emulator, when I was trying to "Send" them directly from the emulator to the calculator (without having the Connection Kit running as advised in the Forum) the files arrived on the calculator in a corrupted state. Mostly this corruption happened around line 113 or so. Looking in the file (editing) it just displayed "Gobbledygook" symbols from that line onwards so no wonder it didn't work.

I then tried to use Erwin Ried’s PrimeComm v0.5 USB utility to send the files. Doing this and trying several times (firstly learning to use the utility by transferring some smaller files) I was finally able to send the ELEMENTS across. The file showed up lowercase in the Program Catalog with its full 22kB size.

I could now try that program on the calculator and it worked fine.

But however many attempts I did, I could not transfer the larger HP_ELEMENTS across. PrimeComm either hung or the file got corrupted during transfer every time. As a last resort I copied the HP_ELEMENTS program into the "MyCalc" folder associated with the Prime Connectivity Kit “C:\Users\YOURNAME\Documents\HP Connectivity Kit\Calculators\MyCalc” and when starting the CK, HP_ELEMENTS was visible in the Programs section of the Content tab. I then right clicked on the program and used "Send to Class". BINGO! The program transferred almost instantly and with no errors.

I cannot offer any insight into why this was the only method I could successfully transfer the file or whether it was just pot luck at the time. However, as a further trial, I renamed the ELEMENTS program on the calculator (didn’t want to lose it after all this trouble) and transferred a new copy from my computer, again using the Connectivity Kit and “Send to Class”, again no errors in the transfer (but now the file name was uppercase in the Program Catalog). So it might be that there is some difference in the transfer protocols used when using “Send” in the emulator and “Send to Class” in the Connectivity Kit.

In any event I will certainly keep in mind using this method of file transfer at least for large program files in the future.
The “Touch” program could now also be run on the calculator; it’s a real pleasure to use and well worth the effort.

Thanks for reading and apologies for my laborious and longwinded explanations but hopefully it is clear enough to be of use to some,


Edited: 23 Nov 2013, 7:41 a.m.


A remark not really related to Touch periodic table, but rather to the comments about the HP Connectivity kit: The first two weeks with my new HP Prime were full of strange freezes, "Gobbledygook" symbols left by the input parser, the need to switch the HP Prime on by paperclip reset, and so on. After a reset to factory defaults, all was fine, and still is until today.

But what did I change in the between, after the reset? I did not connect my HP Prime any more to the HP Connectivity kit! The only use of the USB input was for charging the device.

I have the strong suspicion that the HP Connectivity kit messes things up, and until now I did not found a proof of the contrary.

Just my 0.02


I am correcting the issue with left scrolling in the program.
If somebody finds a way to stop left scrolling when the user is at the beginning of the table and correct white screen got with BLIT_P command :

DIMGROB_P(G1,320,220); RECT(G1);
local x:=startX-offset,y:=startY,i,j;
local tablePos=1;

for j:=1 to 10 do
for i:=1 to 18 do
if tablePos:=position(j,i) then
if selEl== tablePos then
x:=2*width-offset+width/4+startX; y:=7*height+startY;


if size(touch(1)) then //something in our mouse
if touch(1,5)==0 then //touch
local el:= FindEl(touch(1,1),touch(1,2));
if el then
if touch(1,5)==1 then "incomplete" end;
if touch(1,5)==2 then //drag
if touch(1,5)==3 then return "stretch"; end;
if touch(1,5)==4 then return "rotate"; end;
if touch(1,5)==5 then return "long click"; end;

For now I've improved this :

* each element page is now static : press HOME button to go back to the table

You can download the new version here :

*** coming soon ***

Procedure to send the program to your calc :

Edited: 23 Nov 2013, 12:05 p.m.

Possibly Related Threads…
Thread Author Replies Views Last Post
  HP Prime touch periodic table : new version Mic 4 2,005 11-25-2013, 05:29 PM
Last Post: Terje Vallestad
  17BII & 17BII+ Discounted Payback Period Revisited Tom Neudorfl 8 2,867 11-25-2013, 10:28 AM
Last Post: Don Shepherd
  How to create a touch button [HP Prime] uklo 1 1,234 11-02-2013, 02:03 PM
Last Post: Marcus von Cube, Germany
  Touch periodic table on HP Prime Mic 30 8,863 10-27-2013, 04:45 AM
Last Post: Les Koller
  Tic Tac Toe touch for HP Prime Mic 6 2,432 10-25-2013, 03:02 AM
Last Post: Mic
  Periodic table for HP Prime Mic 15 4,487 10-19-2013, 12:20 PM
Last Post: Joseph Ec
  HP Prime touch button SanS 3 1,542 10-10-2013, 12:24 PM
Last Post: Han
  HP41 Functions Address Table (F.A.T.) Antoine M. Couëtte 6 2,209 07-21-2013, 02:48 AM
Last Post: Antoine M. Couëtte
  A slide rule to conquer the moon revisited Palmer O. Hanson, Jr. 12 3,570 06-19-2013, 03:05 PM
Last Post: Ken Shaw
  HEPAX Revisited: Revision 1E available Ángel Martin 4 1,610 05-03-2013, 01:57 PM
Last Post: Diego Diaz

Forum Jump: