In upgrading a client from v14 to v16.2 (Mac based), I’ve noticed that RECEIVE 
PACKET has become very slow, whilst RECEIVE BUFFER works fine.  This is using 
serial comms with a scanner (via Keyspan adaptor).

C_BLOB($rxBlob)
SET CHANNEL(101;Data bits 8+Parity none+Speed 19200+Stop bits one)

RECEIVE PACKET($rxBlob;Char(13))                
        // Delay of ~8 seconds between scan and getting here


Repeat 
        RECEIVE BUFFER($r)
        $rx:=$rx+$r
Until (Position(Char(13);$rx)>0)
        // Falls through to here on scan immediately

Thinking that it might be unicode, I’ve tried with blob and text, but no luck.  
I can workaround by using RECEIVE BUFFER, but just wondering if anyone knows of 
any other things I can try or if it is a bug?

Tony Pollard
Another Dimension Ltd

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to