Post Reply 
HP48 Serial Comm - BUFLEN
01-23-2014, 05:46 AM (This post was last modified: 01-23-2014 05:59 AM by RMollov.)
Post: #3
RE: HP48 Serial Comm - BUFLEN
(01-23-2014 03:38 AM)TomC Wrote:  Curious about anyones experience with Serial Communications with the HP48. I've searched through all my resouces - HP, Wickes, Donnelly and haven't found any helpful information:

1. How long is the serial input buffer?

2. How can I 'peek' into the input buffer - that is see what characters have been received without doing an SRECV?

Any recommendations or code examples are appreciated.

TomC

1. 255 chars
2. Not sure what you mean. Are you after some hack (not User RPL) to retrieve the buffer content without "clearing" it with SRECV?
I have used a simple RCLB program: << BUFLEN DROP SRECV DROP >> to bring buffer content as a string in stack level 1. I've been able to make HP48 communicate with all available surveying total stations over the years with no problem.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP48 Serial Comm - BUFLEN - TomC - 01-23-2014, 03:38 AM
RE: HP48 Serial Comm - BUFLEN - Han - 01-23-2014, 05:08 AM
RE: HP48 Serial Comm - BUFLEN - RMollov - 01-23-2014 05:46 AM
RE: HP48 Serial Comm - BUFLEN - TomC - 01-24-2014, 12:00 AM
RE: HP48 Serial Comm - BUFLEN - RMollov - 01-24-2014, 02:30 AM



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