|
|
how to get ascii data in the hp 50g with the seriell port and export it to a pc
Is there any way to connect the hp 50g with a surveying instrument and
get ascii data?
i have to get the data from various surveying instruments. in this
case, I have to use a sokia instrument. I have to use the (serial)
sokia cable to come out. So I think I have to use (with an adapter)
the seriel port, not the usb port port to come in. now i have three
problems:
what cable i have to use?
how i can get the data without learning sysrpl... . c and userrpl
would be ok:-)
how i can make an upload to a pc?
thanks for the help
j=FCrgen mohrmann
|
|
0
|
|
|
|
Reply
|
juergen
|
1/10/2008 6:02:23 AM |
|
On 10 Gen, 07:02, juergen mohrmann <mohrma...@web.de> wrote:
> Is there any way to connect the hp 50g with a surveying instrument and
> get ascii data?
> i have to get the data from various surveying instruments. in this
> case, I have to use a sokia instrument. I have to use the (serial)
> sokia cable to come out. So I think I have to use (with an adapter)
> the seriel port, not the usb port port to come in. now i have three
> problems:
> what cable i have to use?
> how i can get the data without learning sysrpl... . c and userrpl
> would be ok:-)
> how i can make an upload to a pc?
> thanks for the help
>
> j=FCrgen mohrmann
Hi Juergen.
Please have a look at this thread:
http://groups.google.com/group/comp.sys.hp48/browse_frm/thread/12e4ac09f528c=
fa1#
for a some 30 posts discussion and see if you can get some helpful
hints.
Best regards.
Giancarlo
|
|
0
|
|
|
|
Reply
|
Giancarlo
|
1/10/2008 7:41:21 AM
|
|
> Is there any way to connect the hp 50g with a surveying instrument and
> get ascii data?
Yes. Our solution is here: http://pssllc.com We have full versions
that include extra stuff, and a calculator only wired version.
You seem like you'd like to do it yourself, so I'll share what I know.
> i have to get the data from various surveying instruments. in this
> case, I have to use a sokia instrument.
This is great for you as sokkias are by far the EASIEST to communicate
with.
> sokia cable to come out. So I think I have to use (with an adapter)
> the seriel port, not the usb port port to come in. now i have three
> what cable i have to use?
http://commerce.hpcalc.org/serialcable.php
Eric uses a plastic shell. If you'd like a more sturdy metal shelled
version, we sell those for 30. They are the same and came from Eric,
we just had him use some metal connectors.
> how i can get the data without learning sysrpl... . c and userrpl
UserRPL is all you need. Verify that the settings in your calculator
match the baud rate and parity for your sokkia (which exact model is
it)
This userRPL program will trigger a complete measurement from 95% of
sokkias.
<< 0 STIME BUFLEN DROP SRECV DROP DROP 0 CHR XMIT DROP 24 SRECV DROP
OBJ-> >>
You will now have your horizontal, vertical and slope distance on the
stack. This next program will trigger an angle only reading and leave
the three values on the stack.
<< 0 STIME BUFLEN DROP SRECV DROP DROP 17 CHR XMIT DROP 24 SRECV DROP
OBJ-> >>
> how i can make an upload to a pc?
Now this is getting more difficult as you will need to make a program
to perform calculations, store your data, maintain the data against
all possible problems (since I assume you don't want to loose it)
which means backing up to the SD card; you'll probably then want some
extra calculations to solve triangles and intersections. . . in short,
that is a much larger project. Since you seem to indicate you don't
know how to program, perhaps doing it yourself will take a while. It
will be much more fun though! :-)
TW
|
|
0
|
|
|
|
Reply
|
TW
|
1/10/2008 8:14:48 AM
|
|
On Jan 9, 10:02=A0pm, juergen mohrmann <mohrma...@web.de> wrote:
> Is there any way to connect the hp 50g with a surveying instrument and
> get ascii data?
> i have to get the data from various surveying instruments. in this
> case, I have to use a sokia instrument. I have to use the (serial)
> sokia cable to come out. So I think I have to use (with an adapter)
> the seriel port, not the usb port port to come in. now i have three
> problems:
> what cable i have to use?
> how i can get the data without learning sysrpl... . c and userrpl
> would be ok:-)
> how i can make an upload to a pc?
> thanks for the help
>
> j=FCrgen mohrmann
Depending on the model of instrument, you may have a baud rate issue
also, since the hp50 doesn't allow you to set a baud rate of 1200
(which is the rate most Sokkiia and Leitz instruments operate with).
You will also have to OPENIO before anything will work. And the
routine to use 1200 baud from Claudio Lapillo is as follows:
Write the following program, it requires library 256 to be attached:
<< 16. * 48000000. / INV 0. RND 1. - R->B ->H 11. 18. SUB #07500028h
SWAP POKEARM >>
[replace the <<, >>, -> symbols with the proper ones]
I'll assume it was stored with the name 'SETSPEED'.
To use it, simply set all parameters to establish a serial
communication at any speed, then go back to the calculator stack and
execute:
OPENIO
1200 SETSPEED
(where SETSPEED obviously calls the program given above)
If you are looking for an environmental case that has the circuitry to
allow you to communicate with serial instruments and protect your hp
from the elements take a look at www.stk4hp.com
jeff
|
|
0
|
|
|
|
Reply
|
jeff
|
1/10/2008 2:46:35 PM
|
|
|
3 Replies
278 Views
(page loaded in 0.062 seconds)
|
|
|
|
|
|
|
|
|