HP Forums

Full Version: Vertical Curve
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Creates a list with station and elevation information in L0. If a value between the VPC and VPT is entered in "Special Station", it returns data for that station only, if left at 0 the entire curve will be returned at the interval specified.
I don't think that using .txt for an emulator program file is the best thing to do.
Keeping the original .hpprgm would be better.
To send a text file easily to a real or virtual calculator ("emulator") use primeComm making it a valid format

link primeComm
http://www.hpmuseum.org/forum/thread-36.html
Hi Compsystems,
My point was that that the file attached in first post is named .txt but is in fact a .hpprgm from the emulator.
I would love to post it as a .hpprgm but every time i tried to upload it I got "Invalad file format" so I changed the extension and uploaded fine. I would appreciate any help you could offer.
(12-15-2013 10:43 PM)cdodds Wrote: [ -> ]I would love to post it as a .hpprgm but every time i tried to upload it I got "Invalad file format" so I changed the extension and uploaded fine. I would appreciate any help you could offer.

Just compress it to a zip file -- makes it slightly smaller and it will upload just fine.
Thanks Han,

I have downloaded many programs fo my HP50. This is the first program I have ever uploaded. It is a learning experience. Especially the prime, I like it but there is a learning curve.

Thanks again it is appreciated.
Updated Vertical Curve program.

Now will handle unsymetrical vertical curves.

Enter 0 for the curve length and it will prompt for tangent length in and tangent length out.

If I try to display the list by using EDITLIST(L0); the calculator reboots. I would apreciate any insight into this problem someone may have.
(01-15-2014 06:21 AM)cdodds Wrote: [ -> ]If I try to display the list by using EDITLIST(L0); the calculator reboots. I would apreciate any insight into this problem someone may have.

Could it be that you have not updated the firmware? The first (and only, to date) update fixes this issue, among others.
Vertical Curve 1.01

Updated to save your Calculator settings (HDigits, HFormat, and Entry) when the progran starts and resets them to previous setting when the program ends. The program wouldn't execute the editlist command because I have my calculator set for RPN.

If you want a symetrical curve enter your curve length, If you want to enter an unsymetrical curve enter "0" for length and it will promt for the two lengths from the VPI. if all you want is a special station enter the station you want and it will return the info of the vertical curve and that station.
I transferred the program over with PrimeComm. Whenever I try and run it on my calculator it get a syntax error for line 2.

I may be doing something wrong? This is the first time I've ever transferred a program over.

Any help would be great!
Update: I seem to be able to get it to work on the emulator... Maybe it's a setting in my calculator that's doing it?

Also - on my emulator it says the program is 7kb but on my calculator it says it is 0kb??

I've also now attached two pictures, the one that says no errors is from my emulator. The one with errors is from my physical calculator. Any thoughts?
(04-21-2014 04:24 AM)loopfish Wrote: [ -> ]Update: I seem to be able to get it to work [only] on the emulator...
I've also now attached two pictures, the one that says no errors is from my emulator. The one with errors is from my physical calculator. Any thoughts?

I only get that error when I send it to a Prime with firmware rev 2013 8 13 (5106). It transfers without error to firmware rev 2013 11 25 (5447). Perhaps you need to upgrade your firmware?
So I thought I had updated my firmware but it turns out all I did was download it, not install it. Stupid connectivity kit...

Anyways, I've installed the new firmware and now the app works.

Would love an app like this for horizontal curves!

Thanks!!
Reference URL's