Re: 48 to 49 object conversion Message #5 Posted by James M. Prange (Michigan) on 3 June 2006, 9:09 p.m., in response to message #4 by Les Wright
Quote:
Actually, I just tried it and have answered my own question.
My HP48G and HP49G+ do not speak "infrared" to each other, alas.
The 49g+ isn't designed to "speak" directly to the 48 series or
49G. It can communicate with another 49g+ or a 48gII via IrDA, but
not via wire. Using USB and Conn4x, it can communicate with a MS
Windows system, and there are USB communication packages for Macs
and Linux systems too.
At least with Win98SE, an IrDA device can be seen as a "virtual
COM port", and HyperTerminal can be used with it for communication
with a 49g+. I don't know whether this works with WinXP; maybe by
using an application called IrCOMM2k; available
here.
Using an SD card or MMC, you can transfer objects between the 49g+
and a PC, but the 49g+ stores objects to the card as binary
transferred files, and binary transfers between the 48 and 49
series aren't allowed. For programs designed to store objects on
the card in a format compatible with Kermit ASCII transfers, see
here.
Quote:
I guess my next question is: should they?
Well, in my opinion, the 49g+ should've at least had
RS-232 compatible communication capability built-in, and maybe the
IR used on the 48 series, as well as USB and IrDA, but it doesn't.
The thing to do is transfer to the PC in "Kermit ASCII" or "Text"
format, and then transfer to the other calculator.
In general, source code for the 48 series will usually work on the
49 series. Possible pitfalls include global names on the 48 being
built-in command names or reserved variables on the 49. To avoid
having the 49 compile "real" numbers that happen to be integers as
"exact integers" (a different object type), have the 49 in
"approximate" mode while transferring to it.
The 49 series adds some new object types. Exact integers will be
compiled as real numbers, rounded to 12 significant digits if
needed, when compiled on the 48. Symbolic matrices can be compiled
on the 48 only if the elements are all real numbers or exact
integers, or all complex numbers, and they'll be compiled as real or
complex matrices. Other new object types won't compile on the 48
series.
The following object types can be transferred only in binary mode:
16 Library
17 Backup Object
20 Internal Binary Integer
21 Extended Real Number
22 Extended Complex NumberLes
23 Linked Array
24 Character Object
25 Code Object
26 Library Data
27 Minifont
30 Font
If you want to transfer SysRPL or assembly objects between models,
first use the appropriate tools to decompile them to source code
form, make any changes needed for compatibility, and recompile
them for the other model.
Regards, James
Edited: 3 June 2006, 9:16 p.m.
|