50g group photo

Yahoo Groups archive

50g

Index last updated: 2026-03-31 17:30 UTC

Message

Re: Can the 50g send a calculation result to the active cell of an open Excel fi

2008-03-28 by m2mbob

My thanks to Tim, Dave and Giancarlo for their input and patience
regarding this interesting (to me, anyway) question of how to send a
string from a 50g to the insertion point of an open file on a PC.

So far you guys have carried me on your backs through the process of
writing the 2-step program to
- convert x-register contents to a string, and
- send the string using the XMIT command.

To answer your most recent question, Tim - I have not assigned the
program to a key via the USER capabilities (which I've yet to explore),
but have assigned the program as a variable in the directory from which
I'm most likely to use it, so that it shows up as a soft-key menu item
in that directory. When I press [VAR] to display the available
variables, then press [F1] (which is now labeled with the program
name), the program appears to execute (the value: 1 appears in the x-
register). Later I'll take time to learn how to do the USER key
assignment.

So I think the calculator is now doing the "sending" part of the task.
Meanwhile my PC is blissfully unaware of what a towering RPL code-
monster I've suddenly become, and is ignoring my impressive XMITs.

I think I'll have to figure out how to get WIN2000 to recognize the 50g
as an input device. So far I have tentatively concluded that the
connection between Conn4x and the server on the 50g is *not* part of
the solution, since on the calculator I have to exit the server in
order to work in the calc environment.

So I'm now addressing the puzzle of how to tell Windows that the 50g on
the other end of the USB cable is an input device. If lightning
strikes, I'll report my findings right away! If any of you guys already
know where the stumps are in this water, feel free to point them out!


--- In 50g@yahoogroups.com, "Tim Wessman" <timwessman@...> wrote:
>
> > I believe that the value: 1 is the code that XMIT
> > returns if the transmission was successful.
>
> Yes. It can also return a 0, but I've never once seen that. So just
> modify the program to add a DROP. Did you assign it to a key? Or
> just run it from the menu?
>
> You could write up what you learned in a document and call it "Using
> the 50G as an external keyboard on the computer" or something like
> that. It would be a welcome addition on HPCALC.org I'm sure.
>
> TW
>

Attachments