
Discussion BoardsOpen MenuDiscussion Boards Open Menu

BlogsOpen Menu

#HPExpertDay will be here inOpen Menu#HPExpertDay will be here inOpen Menu
 HP Support Forum Home
 >
 Tablets
 >
 Calculators
 >
 Re: New updates for HP Prime...
HP Support Forums
Join in the conversation.
 Subscribe
 Mark Topic as New
 Mark Topic as Read
 Float this Topic to the Top
 Bookmark
 Subscribe
 Printer Friendly Page
New updates for HP Prime...
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Report Inappropriate Content
12032013 04:56 AM
Hi,all!!!
HP have released a brand new updates for HP Prime's emulator, connectivity kit and firmware.
Resource and download link in : http://www.hpmuseum.org/cgisys/cgiwrap/hpmuseum/f
Thanks for Franz of MoHPC forum for discovering these updates!!!
Solved! View Solution.
Re: New updates for HP Prime...
12032013 11:59 AM
Re: New updates for HP Prime...
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Report Inappropriate Content
12032013 11:59 AM
TW
Although I work for the HP calculator group, the views and opinions I post here are my own.
Re: New updates for HP Prime...
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Report Inappropriate Content
12032013 05:48 PM
Thanks for tip,Tim...
I have updated the emulator and I see most bugs fixed...
A doubt: how to use the new TRIANGLE command,Tim??? I was impressed about seeing this command...
Re: New updates for HP Prime...
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Report Inappropriate Content
12042013 01:10 AM
Hello,
First, look at the help. shift program ENTER cmds Drawing PixelsUp (select TRIANGLE_P) Help...
TRIANGLE is a VERY complicated function as it takes lots of forms. From just drawing 1 triangle, to drawing multiple ones all the way to drawing multiple rotated and projected ones with Z clipping!
copied here for ease of reading:
Syntax: TRIANGLE_P([G], x1, y1, x2, y2, x3, y3, c1, [c2, c3], [Alpha], ["ZString", z1, z2, z3]) or
TRIANGLE_P([G], {x1, y1, [c1], [z1]}, {x2, y2, [c2], [z2]},{x3, y3, [c3], [z3]}, ["ZString"]) or
TRIANGLE_P([G], [[x/y coordinate matrix]], [[color matrix]], {[[z matrix]], [zcode], [[[projection matrix]]], [zstring]) or TRIANGLE_P([G])
Draws a triangle between specified pixel coordinates in the graphic using the specified color and transparency (0 ≤ Alpha ≤ 255). If 3 colors are specified, blends the colors in between the vertexes.
The next form of TRIANGLE allows display of multiple triangles at a time.
This is mostly used if you have a set of vertices and want to display them all at once.
The first 2 matrices indicate the x/y coordinates and colors of each points. TRIANGLE_P will draw 1 quadrilateral for each set of 4 adjacent vertices and blends the colors associated with the 4 points.
If a z and projection matrix are provided, for each point, this matrix is multiplied by the [x,y,z,1] vector to create the display x,y coordinates.
If zcode is a list that contains 3 real numbers { ex, ey, ez } then x,y are further modified by doing x=ez/z*xex and y=ez/z*yey creating a perspective projection.
If zstring is provided, z clipping will happen using the z value (see below).
If zcode="N" or is a list that starts with "N", then each z is normalized to be between 0 and 255.
About ZString
TRIANGLE_P([G]) returns a string adapted for z clipping.
To use Z clipping, call TRIANGLE_P to create a Z clipping string (initialized at 255 for each pixels). You can then call TRIANGLE_P with appropriate z (0255) values for each of the triangle vertexes and TRIANGLE_P will not draw pixels further than the already drawn pixels. ZString is automatically updated as appropriate.
Examples: TRIANGLE_P(0,20,150,50,100,100,#FFh,#FF00h,#FF0000
As an example of how to use the triangle for 3D graphing do the following.
Make a copy of the Advanced grapher app (used here sollely for it's ability to enter functions of X and Y)...
edit the app program (shift program, up, enter) and replace whatever is there by the following program.
then, exit the app (go to function) and restart it (to start the program). You should end up in the symb view. enter sin(X)*SIN(Y)*5 as V1 and press plot. you can then use the arrows and +/ to move the graph. press ON to exit.
g3D_rotmatrix();
g3D_project();
export xmin3D=10,xmax3D=10;
export ymin3D=10,ymax3D=10;
export zmin3D=10,zmax3D=10;
export grid3D=14,zoom3D=10;
export rotx=0,roty=15,rotz=10;
Rx,Ry,Rz,Rot;
xc,yc,zc;
Zvals, Points2D, cols;
//
view "Edit Function",START()
//
begin
msgbox("Enter function to plot into V1.");
startview(0,1);
end;
//
SymbSetup()
//
begin
msgbox("Use X and Y as the input variables.")
end;
//
View "Reset Plot Settings" g3D_setdefault()
//
begin
xmin3D:=10; xmax3D:=10;
ymin3D:=10; ymax3D:=10;
zmin3D:=10; zmax3D:=10;
zoom3D:=10; grid3D:=14;
rotx:=0; roty:=15; rotz:=10;
xc:=0; yc:=0; zc:=0;
end;
//
PlotSetup()
//
begin
input({xmin3D, xmax3D, ymin3D, ymax3D, zmin3D, zmax3D, zoom3D, grid3D, rotx, roty, rotz},
"Graph 3D Window",
{"xMin=","xMax=","yMin=","yMax=","zMin=","zMax=","
{"Enter front side of viewing box","Enter back side of viewing box", "Enter left side of viewing box", "Enter right side of viewing box", "Enter bottom of viewing box", "Enter top of viewing box","Enter the zoom factor","Enter N for an NxN grid", "Enter angle (deg) about the xaxis", "Enter angle (deg) about the yaxis", "Enter angle (deg) about the zaxis"},
{10,10,10,10,10,10,10,14,0,15,10});
if xmin3D>=xmax3D then
msgbox("Warning: Invalid xmin/xmax!");
xmax3D:=xmin3D+1;
end;
xc:=(xmax3D+xmin3D)/2;
if ymin3D>=ymax3D then
msgbox("Warning: Invalid yMin/yMax!");
ymax3D:=ymin3D+1;
end;
yc:=(ymax3D+ymin3D)/2;
if zmin3D>=zmax3D then
msgbox("Warning: Invalid zMin/zMax!");
zmax3D:=zmin3D+1;
end;
zc:=(zmax3D+zmin3D)/2;
if zoom3D<1 then
msgbox("Warning: zoom must be > 0; reset to 10");
zoom3D:=10;
end;
if grid3D<1 then
msgbox("Warning: grid size must be > 0; reset to 14");
grid3D:= 14;
end;
cols:= makemat(RGB(I/(grid3D+1)*255,0,J/(grid3D+1)*255),g
end;
//
Plot()
//
begin
local key;
cols:= makemat(RGB(I/(grid3D+1)*255,0,J/(grid3D+1)*255),g
local dx= (xmax3Dxmin3D)/grid3D,dy= (ymax3Dymin3D)/grid3D;
local xm:= xmin3Ddx, ym:= ymin3Ddy;
Zvals:=MAKEMAT(V1(xm+I*dx, ym+J*dy), grid3D+1, grid3D+1).zc;
Points2D:=MAKEMAT((xm+I*dx,ym+J*dy), grid3D+1, grid3D+1);
g3D_rotmatrix;
g3D_project();
while 1 do
key:=WAIT();
repeat
if key==2 then roty:=roty+5; g3D_rotmatrix; g3D_project(); end;
if key==12 then roty:=roty5; g3D_rotmatrix; g3D_project(); end;
if key==7 then rotz:=rotz+5; g3D_rotmatrix; g3D_project(); end;
if key==8 then rotz:=rotz5; g3D_rotmatrix; g3D_project(); end;
if key==1 then rotx:=rotx+5; g3D_rotmatrix; g3D_project(); end;
if key==3 then rotx:=rotx5; g3D_rotmatrix; g3D_project(); end;
if key==45 then zoom3D:=zoom3D/1.05; g3D_project(); end;
if key==50 then zoom3D:=zoom3D*1.05; g3D_project(); end;
if key==1 then break 2; end;
until NOT IsKeyDown(key);
end;
end;
//
g3D_rotmatrix()
//
begin
A:=rotx*PI/180; B:=roty*PI/180; C:=rotz*PI/180;
Rx:=[[1.,0.,0.],[0.,COS(A),SIN(A)],[0.,SIN(A),COS
Ry:=[[COS(B),0.,SIN(B)],[0.,1.,0.],[SIN(B),0.,COS
Rz:=[[COS(C),SIN(C),0.],[SIN(C),COS(C),0.],[0.,0.
Rot:=Rx*Ry*Rz;
Rot(3,4):= xmin3D+zc+10;
end;
//
// g3D_project
//
g3D_project()
begin
dimgrob_p(G1,320,240);
local zs= TRIANGLE(); // Get z clipping
triangle_p(G1, Points2D, cols, Zvals, { "N", 160, 120, (xmax3Dzc+5)*zoom3D }, Rot, zs);
blit_p(G0,G1);
end;
cyrille
Re: New updates for HP Prime...
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Report Inappropriate Content
01112014 08:01 PM
I went through all of the procedure for doing the update, including download and installation of the connectivity software, update of the connectivity software, and connecting my HP Prime. The connectivity program immediately recognized the device. But when I attempted the update, I got error 105. I repeated the procedure on all of the USB ports on my computer with the same result.
I then set the computer aside (a very fast and capable ASUS large screen laptop), and switched to the Dell shailbook that I carry with me everywhere. Installation of the connectivity kit and update of the Prime internal software proceeded seamlessly.
So, for those that are having problems, try switching to a different computer. That is what worked for me.
Re: New updates for HP Prime...
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Report Inappropriate Content
08292014 04:58 PM
I was getting the failure to update on my Win7 x64 box. The issue I had was that when you say yes you want to update, the calculator is put in recovery mode and for some reason Windows then needed to reload the drivers for that mode even though it loaded completely in past upgrade attempts (Yep Windows...or maybe HPs driver). So what was happening is that by the time windows loaded the necessary drivers, the downloader in the connectivity app already time out and gave up trying. So what I did was:
1. Reset the calculator with the paper clip so it was back at the home screen
2. Reran the connectivity tool
3. The connectivity tool pops up the message box saying do you want to update the calculator. DO NOT press the button to start the update, first you need to do the next steps
4. While holding down the Symb key, use the paper clip to press the reset button again. This should put the calculator into recovery mode.
5. Now you need to wait until windows finishes loading both update drivers (one is update Prime the other is update USB storage I believe). It can take 5 minutes.
6. Once both drivers are installed by windows you can then press the button in the connectivity app to start the update process. Worked like a champ.
Hope that works for you too (and everyone else that has had this issue)!
Re: New updates for HP Prime...
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Report Inappropriate Content
09042014 11:46 AM
For some odd reason, the link leads me to a message number not found page. Has the update been moved?
LB
Re: New updates for HP Prime...
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Report Inappropriate Content
09042014 02:33 PM
LeopoldBloom wrote:For some odd reason, the link leads me to a message number not found page. Has the update been moved?
LB
Simpler solution: just run the Connectivity Kit. It knows where to download updates from, and it can update itself, the emulator, and the firmware if you tell it to.
Re: New updates for HP Prime...
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Report Inappropriate Content
09052014 12:34 PM
I'd forgotten how tricky this is on a Mac, Joe. The problem is that the Connectivity Kit, after downloading the Zip file, sets the calculator to receive the update, which disconnects the Prime from the Windows emulator. By the time it is rerecognised by the MAC OS X and reconnected, the Connectivity Kit has lost 'patience'.
So, it was possible eventually to find the unzipped file and use the USB Tool to do the firmware update  after a lot of searching to locate the needed files. It might be useful to let MAC folk following this forum know where the Connectivity Tool normally downloads files. As one who has not used Windows except for updating HP calculators, this was a severalhour process.
But thank you very much for the pointer to use the Connectivity Kit!
Leopold Bloom
Re: New updates for HP Prime...
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Report Inappropriate Content
09052014 07:32 PM
Leopold: Good idea. Where did you find them?

EnglishOpen Menu