Post Reply 
Touch Periodic Table
04-18-2014, 01:44 PM (This post was last modified: 04-18-2014 01:46 PM by Miguel Toro.)
Post: #1
Touch Periodic Table
Hello,

Here is an improved version of Mickaël Nicotera's Periodic Table program for the HP Prime.

How to install the program in the emulator:

1.- unzip the hpprgm file

2.- copy the hpprgm file in :

C:\Users\[your user name]\AppData\Roaming\HP_Prime (in Windows 7 or 8)
or
C:\Documents and Settings\[Owner]\Application Data\HP_Prime (in Windows XP)

3.- Run the emulator and then [Shift]+[1]. The program should be in the program catalog.

There are several ways to transfer the program to your calculator. For example, connect your Prime to the computer and use the connect option of the calculator

Fixed - Thank you Han for detecting these bugs

1) Select an element, press ENTER. Then press HOME. Now, scroll the screen and press ENTER (don't choose a new element). --> nothing happens - FIXED

2) Select an element, press ENTER. Then press HOME. Now, choose to menu option. Press OK when given the prompt and return to the table. Now press ENTER. --> nothing happens - FIXED

Improvements

1.- Now the text is not affected by the color schema - Thanks Orcinus
2.- The selected element is now showed using FILLPOLY with alpha blending, as suggested by Han. - Thanks to Han, and also Eddie for his video on how to use FILLPOLY.

To do

1- Better handling of mouse and keyboard events as suggested by Han. I have not figured out yet how to implement the scrolling using WAIT(-1)

-------------------------------------------------------------

I will keep the program updated here. The main credits go to Nic who is the author of the program.

Regards,

Miguel


Attached File(s)
.zip  HP_ELEMENTS.zip (Size: 12.01 KB / Downloads: 310)
Find all posts by this user
Quote this message in a reply
04-19-2014, 11:44 PM
Post: #2
RE: Touch Periodic Table
May I suggest to look at my software totally different from the one developed by Nic.(I use spreadsheets)....
Download it at the Programming with Speadsheets Post.
It offers a simultaneous navigation by touch/mouse and joy stick OR by initials (just key in the initial letter of the element) in English/Spanish/French (in the same spreadsheet).
I you have any modification to bring ....
Find all posts by this user
Quote this message in a reply
05-06-2014, 05:14 PM
Post: #3
RE: Touch Periodic Table
(04-18-2014 01:44 PM)Miguel Toro Wrote:  Hello,

Here is an improved version of Mickaël Nicotera's Periodic Table program for the HP Prime.

How to install the program in the emulator:

1.- unzip the hpprgm file

2.- copy the hpprgm file in :

C:\Users\[your user name]\AppData\Roaming\HP_Prime (in Windows 7 or 8)
or
C:\Documents and Settings\[Owner]\Application Data\HP_Prime (in Windows XP)

3.- Run the emulator and then [Shift]+[1]. The program should be in the program catalog.

There are several ways to transfer the program to your calculator. For example, connect your Prime to the computer and use the connect option of the calculator

Fixed - Thank you Han for detecting these bugs

1) Select an element, press ENTER. Then press HOME. Now, scroll the screen and press ENTER (don't choose a new element). --> nothing happens - FIXED

2) Select an element, press ENTER. Then press HOME. Now, choose to menu option. Press OK when given the prompt and return to the table. Now press ENTER. --> nothing happens - FIXED

Improvements

1.- Now the text is not affected by the color schema - Thanks Orcinus
2.- The selected element is now showed using FILLPOLY with alpha blending, as suggested by Han. - Thanks to Han, and also Eddie for his video on how to use FILLPOLY.

To do

1- Better handling of mouse and keyboard events as suggested by Han. I have not figured out yet how to implement the scrolling using WAIT(-1)

-------------------------------------------------------------

I will keep the program updated here. The main credits go to Nic who is the author of the program.

Regards,

Miguel

I cannot make this program or any other version run. I always get a syntax error message. Has anyone experienced this and found a solution?
Thanks guys,

Ron
Find all posts by this user
Quote this message in a reply
05-06-2014, 06:13 PM
Post: #4
RE: Touch Periodic Table
Make sure your calculator is in HEX mode, using decimal point for fraction mark, and see if it compiles.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
05-06-2014, 06:35 PM
Post: #5
RE: Touch Periodic Table
(05-06-2014 06:13 PM)Han Wrote:  Make sure your calculator is in HEX mode, using decimal point for fraction mark, and see if it compiles.

Hey Man, thanks for the answer. I made the program work on the virtual Calc. And I noticed that it was setup to HEX ( under shift*Home_setting) by default, and also the date format is different.
I assume that there is a problem with the format used to write the program and the format to read it ( they have to match)
So I changed my number to HEX , cannot find the decimal point fraction option, ? still not working.

Note: the program on the emulator is 51kb the program on the physical device is only 26kb when transferred.

any Ideas?

Thanks
Find all posts by this user
Quote this message in a reply
05-08-2014, 09:02 AM
Post: #6
RE: Touch Periodic Table
(05-06-2014 06:35 PM)rontz111 Wrote:  So I changed my number to HEX , cannot find the decimal point fraction option, ? still not working.

[Image: DecimalMark.png]

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
05-22-2014, 01:04 PM
Post: #7
RE: Touch Periodic Table
Thanks Joe, still no difference. Shows error on line 3.
Do you have yours working? can you post the code?
Thanks
Find all posts by this user
Quote this message in a reply
05-23-2014, 06:08 AM
Post: #8
RE: Touch Periodic Table
(05-22-2014 01:04 PM)rontz111 Wrote:  Thanks Joe, still no difference. Shows error on line 3.
Do you have yours working? can you post the code?
Thanks

Yep, works fine. Here's the source code (I hope I didn't mangle it):

.txt  HP_ELEMENTS.txt (Size: 27.04 KB / Downloads: 140)

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
03-10-2015, 06:12 AM
Post: #9
RE: Touch Periodic Table
This application should natively be implemented in the firmware so pupils could use the periodic table with the exam mode activated.
What do you think ?

http://mic.nic.free.fr - Youtube - Facebook
Find all posts by this user
Quote this message in a reply
03-26-2015, 09:32 PM
Post: #10
RE: Touch Periodic Table
(05-23-2014 06:08 AM)Joe Horn Wrote:  Yep, works fine. Here's the source code (I hope I didn't mangle it):

hi Joe,
wonderful!
but, what about Electronegativity function?
I get "H1 error..." under "Electronegativity function of Z"...

Is there a more recent version that correct that?

thank you
Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
05-04-2015, 06:51 AM
Post: #11
RE: Touch Periodic Table
I'll try to update if I have time.

http://mic.nic.free.fr - Youtube - Facebook
Find all posts by this user
Quote this message in a reply
05-04-2015, 08:41 AM
Post: #12
RE: Touch Periodic Table
(05-04-2015 06:51 AM)Mic Wrote:  I'll try to update if I have time.

thanks a lot!

Smile

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
05-18-2015, 07:09 PM
Post: #13
RE: Touch Periodic Table
Hi,

Here is a new version based on the new firmware (7820 or higher).
Help is included in the ZIP.

Changelog :
- New applet launch with an icon.
- Automatic language detection (English and French).
- New electronegativity graph included.
- New toolbox key with 2 tools : Lewis representation and a picture of Mendeleiev.

[Image: HP_EL.png]

Download :
http://mic.nic.free.fr/hp/HP_ELEMENTS_3.zip

Have fun !

http://mic.nic.free.fr - Youtube - Facebook
Find all posts by this user
Quote this message in a reply
05-18-2015, 07:28 PM
Post: #14
RE: Touch Periodic Table
(05-18-2015 07:09 PM)Mic Wrote:  Hi,

Here is a new version based on the new firmware (7820 or higher).
Help is included in the ZIP.

...

hi Mic,
thank you!
I'm trying it Smile
So we can delete the old program, now, and maintain only the App?

The electronegativity curve: is intended to show only if it's pressed the button or should it showing also without?

However now is indeed better!

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
05-18-2015, 08:41 PM
Post: #15
RE: Touch Periodic Table
(05-18-2015 07:28 PM)salvomic Wrote:  [quote='Mic' pid='35446' dateline='1431976141']
Hi,
Here is a new version based on the new firmware (7820 or higher).
Help is included in the ZIP.
...

Hello Mic,
thank you for this great program!
Transfer to the virtual prime works as written, but the program seems not to start (I've got a function app only). So i tried to "Check" the code of the program.
I had to add a line "HP_ELEMENTS();" as first line in the code, then "Check" printed "No errors in the program".
Don't know why this was neccesary, but now it's fine.
Find all posts by this user
Quote this message in a reply
05-20-2015, 11:08 AM
Post: #16
RE: Touch Periodic Table
(05-18-2015 08:41 PM)Thomas_Sch Wrote:  Transfer to the virtual prime works as written, but the program seems not to start (I've got a function app only). So i tried to "Check" the code of the program.
I had to add a line "HP_ELEMENTS();" as first line in the code, then "Check" printed "No errors in the program".
Don't know why this was neccesary, but now it's fine.

Did other users have this problem too ?
Maybe the source code should be changed accordingly.
Find all posts by this user
Quote this message in a reply
05-20-2015, 11:47 AM
Post: #17
RE: Touch Periodic Table
(05-20-2015 11:08 AM)Thomas_Sch Wrote:  
(05-18-2015 08:41 PM)Thomas_Sch Wrote:  Transfer to the virtual prime works as written, but the program seems not to start (I've got a function app only). So i tried to "Check" the code of the program.
I had to add a line "HP_ELEMENTS();" as first line in the code, then "Check" printed "No errors in the program".
Don't know why this was neccesary, but now it's fine.

Did other users have this problem too ?
Maybe the source code should be changed accordingly.

I've had the same problem, resolved the same way. I've also added a #pragma statement to make it compatible with different Digit Grouping options.
Here are the two lines I've added at the very beginning of the program:

Code:
#pragma mode( separator(.,;) integer(h32) )
HP_ELEMENTS();
Find all posts by this user
Quote this message in a reply
05-20-2015, 02:51 PM
Post: #18
RE: Touch Periodic Table
Thank you. Code corrected.

http://mic.nic.free.fr - Youtube - Facebook
Find all posts by this user
Quote this message in a reply
05-20-2015, 05:14 PM
Post: #19
RE: Touch Periodic Table
@ Didier & Mic:
thanks for your testing and correction.
Thomas
Find all posts by this user
Quote this message in a reply
09-19-2015, 03:47 PM
Post: #20
RE: Touch Periodic Table
I tried to download the .txt, but on Android the text is read by HTML viewer, with nothing visible. If I try to open it with QuickOffice, the filename is visible but greyed out.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 5 Guest(s)