Tony, did you get your issue resolved with Receive Packet? After upgrading
to v16.3 my Receive Packet stopped working if the database is opened with
Unicode Mode checked in the Compatibility Settings (error -9990 Time out
error), but works if the database is opened with Unicode unchecked. I'm
still trying to figure out how to get Receive Packet working with Unicode
Mode on. Ken

On Mon, Oct 30, 2017 at 10:47 AM, Tony Pollard via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> 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:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************
**********************************************************************
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:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to