HP Forums
Touch Periodic Table - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: HP Prime Software Library (/forum-15.html)
+--- Thread: Touch Periodic Table (/thread-1115.html)

Pages: 1 2


Touch Periodic Table - Miguel Toro - 04-18-2014 01:44 PM

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


RE: Touch Periodic Table - Mic_Dec - 04-19-2014 11:44 PM

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 ....


RE: Touch Periodic Table - rontz111 - 05-06-2014 05:14 PM

(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


RE: Touch Periodic Table - Han - 05-06-2014 06:13 PM

Make sure your calculator is in HEX mode, using decimal point for fraction mark, and see if it compiles.


RE: Touch Periodic Table - rontz111 - 05-06-2014 06:35 PM

(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


RE: Touch Periodic Table - Joe Horn - 05-08-2014 09:02 AM

(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]


RE: Touch Periodic Table - rontz111 - 05-22-2014 01:04 PM

Thanks Joe, still no difference. Shows error on line 3.
Do you have yours working? can you post the code?
Thanks


RE: Touch Periodic Table - Joe Horn - 05-23-2014 06:08 AM

(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):
[attachment=683]


RE: Touch Periodic Table - Mic - 03-10-2015 06:12 AM

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 ?


RE: Touch Periodic Table - salvomic - 03-26-2015 09:32 PM

(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


RE: Touch Periodic Table - Mic - 05-04-2015 06:51 AM

I'll try to update if I have time.


RE: Touch Periodic Table - salvomic - 05-04-2015 08:41 AM

(05-04-2015 06:51 AM)Mic Wrote:  I'll try to update if I have time.

thanks a lot!

Smile

Salvo


RE: Touch Periodic Table - Mic - 05-18-2015 07:09 PM

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 !


RE: Touch Periodic Table - salvomic - 05-18-2015 07:28 PM

(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


RE: Touch Periodic Table - Thomas_Sch - 05-18-2015 08:41 PM

(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.


RE: Touch Periodic Table - Thomas_Sch - 05-20-2015 11:08 AM

(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.


RE: Touch Periodic Table - Didier Lachieze - 05-20-2015 11:47 AM

(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();



RE: Touch Periodic Table - Mic - 05-20-2015 02:51 PM

Thank you. Code corrected.


RE: Touch Periodic Table - Thomas_Sch - 05-20-2015 05:14 PM

@ Didier & Mic:
thanks for your testing and correction.
Thomas


RE: Touch Periodic Table - StephenG1CMZ - 09-19-2015 03:47 PM

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.