==== USBAUTORCV ==== ---- ---- Receive an object and execute it ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | | **→** | **[O]XEQ** | | //Level 1// | //→// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} |**Type**| [[manual:chapter5:basics#commands|Command]] || |**Parallel list processing**| [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] || |**Affected by flags**| [[manual:appendix:flags#flag-47|-47]] | Automatic reception and execution of data sent via USB | ---- The ''USBAUTORCV'' command receives an object transmitted by another calculator using the USB link, provided the connection has been successufully negotiated. Since by default object reception happens automatically without an explicit use of ''USBAUTORCV'', the pre-condition for usage of ''USBAUTORCV'' is the disabling of automatic reception by setting flag [[manual:appendix:flags#flag-47|-47]]. If the transfer succeeds ''USBAUTORECV'' will be automatically ''[[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]''ted - see ''[[manual:chapter6:usb:cmd_usbrecv|USBRECV]]'' if this feature is not desired. To signal the user of an incoming object waiting to be received an **RX** indicator is displayed in the status area. If there's no data incoming ''USBAUTORCV'' silently terminate itself. ---- This command is new in newRPL and does not exist in userRPL. ---- If the following program « "KNOCK! KNOCK!" » has been sent from another calculator and it's waiting to be received, then 1: …………………………………………………………………………………… USBAUTORCV will result in 1: "KNOCK! KNOCK!" …………………………………………………………………………………… ---- {{page>manual:chapter6:usb&nofooter&noeditbtn&inline}}