Interface Event (DAV) set to No Wait tells you how many bytes are in the
buffer, then you can read a binblock of that size.
-----Original Message-----
From: NANCY_MOREYRA@HP-Seattle-om1.om.hp.com
[mailto:NANCY_MOREYRA@HP-Seattle-om1.om.hp.com]
Sent: Tuesday, June 15, 1999 11:19 AM
To: hpvxd_xc@hpislsup.lvld.hp.com
Subject: HPVee and Serial
Does anyone know of a fast and easy way to empty out the input buffer
of a serial port from HPVee 5.0. I am using an IRDA adapter to talk
to an instrument and before I initiate an IO transaction, I want to
make sure that the input buffer is empty of any unwanted junk.
Thanks,
Nancy M.
_______________________________________________________________________
I am currently testing a new e-mail client called Outlook.
If present, please disregard the "winmail.dat" attachment.
_______________________________________________________________________
buffer, then you can read a binblock of that size.
-----Original Message-----
From: NANCY_MOREYRA@HP-Seattle-om1.om.hp.com
[mailto:NANCY_MOREYRA@HP-Seattle-om1.om.hp.com]
Sent: Tuesday, June 15, 1999 11:19 AM
To: hpvxd_xc@hpislsup.lvld.hp.com
Subject: HPVee and Serial
Does anyone know of a fast and easy way to empty out the input buffer
of a serial port from HPVee 5.0. I am using an IRDA adapter to talk
to an instrument and before I initiate an IO transaction, I want to
make sure that the input buffer is empty of any unwanted junk.
Thanks,
Nancy M.
_______________________________________________________________________
I am currently testing a new e-mail client called Outlook.
If present, please disregard the "winmail.dat" attachment.
_______________________________________________________________________