Post Reply 
newRPL - build 1255 released! [updated to 1299]
01-23-2018, 05:14 PM
Post: #130
RE: newRPL - build 1001 released! [update:build 1016]
(01-23-2018 12:52 PM)Gilles59 Wrote:  
(01-22-2018 11:19 PM)Claudio L. Wrote:  Sorry if it seems obvious, but did you run something like
10 USBRECV
on the receiving side?

No... ;D
I just connect the HP50G, click in the simultor do init the connexion.
If I just do "Hello" USBSEND, I get this on first level of the stack in the HP50g.

I will read the doc in this forum or the wiki try again ;D.

That's good news, then there's no problem with your USB connection.
Basically the receiving side will "autoreceive" which includes executing whatever programs you send automatically (for remote control). You can disable it by setting flag -47. When you do, you'll see "RX" on the status area whenever an object is available, which you can receive "manually" using USBRECV.
Be aware that the selection dialog uses the remote control to retrieve the newRPL build number and verify the device is responding, so you need to clear flag -47 in order for the calculator to be recognized in that dialog box.
Now I find more useful to run USBRECV first on the receiving side (which will NOT execute anything automatically), then send it with confidence (without messing with flags). Another trick is to put the program on a list, then you need to extract it from the list on the receiving side, but won't be executed.
If you really don't want to touch your receiving side, then you can send a program to do a remote-controlled-manual-receive (if that makes any sense):
Code:
«
  «
    10 USBRECV DROP 
  »
  USBSEND DROP 
  DO USBSEND UNTIL END
»

You can call this program SENDOBJ, will send an object without executing it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - build 1001 released! - pier4r - 12-16-2017, 08:03 AM
newRPL - on Hp 39gs - Martin Hepperle - 06-05-2019, 06:51 AM
RE: newRPL - build 1001 released! - pier4r - 12-23-2017, 10:16 AM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 09:42 AM
t - Claudio L. - 01-01-2018, 03:06 PM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 03:41 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 04:54 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 06:58 PM
RE: newRPL - build 1001 released! [update:build 1016] - Claudio L. - 01-23-2018 05:14 PM
newRPL - brickviking - 10-05-2018, 06:01 AM
How to participate? - erazor - 12-13-2019, 07:12 AM



User(s) browsing this thread: 28 Guest(s)