Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!att!linac!unixhub!slacvm!leif From: LEIF@SLACVM.SLAC.STANFORD.EDU Newsgroups: comp.sys.handhelds Subject: Re: HP48 buffer read problems (still). Message-ID: <91093.182342LEIF@SLACVM.SLAC.STANFORD.EDU> Date: 4 Apr 91 02:23:42 GMT References: <91092.195502LEIF@SLACVM.SLAC.STANFORD.EDU> <21685@shlump.nac.dec.com> Organization: Stanford Linear Accelerator Center Lines: 32 In article <21685@shlump.nac.dec.com>, edp@jareth.enet.dec.com (Eric Postpischil (Always mount a scratch monkey.)) says: > >There must be something else going on. What makes you think you >are losing data? I am reading from a meter, which outputs a number of the form: xx.x every second. I see the annunciator in the upper left of the hp48 flash every second, but the characters I get from the buffer sometimes fail to be displayed by my program, and don't appear on the stack after program ends. Say I run for 1 minute, I should get 60 reads on the stack, well I usually get from 45-55 numbers (converted using STR\-> ), even though I do see the annunciator flash 60 times. (What is this annunciator supposed represent anyway? It looks like half an infinity symbol with an arrow sticking out of it's side :-) >I seem to recall you stated in your original post that you could not get >flow-control to work. This should be fairly simple, just a matter of >setting the third number in IOPAR to 1. Are you having problems setting >flow-control on the computer side? I haven't used flow-control, so I'll have to look into it. I am not; however, reading input to the 48 from a computer, rather from a digital meter, which thinks it is printing. Thanks for the suggestions, I'll try accumulating to a string, then splitting the string up and converting to numbers at the end of the program. As to the flow-control, I will have to look into what it is supposed to accomplish before I try to use it. Thanks again! P.S. Any and all other suggestions still welcome! :-) Later... Leif Johnson Leif@SLACVM.SLAC.STANFORD.EDU