Hi Ken, sorry for the slow reply. No I didn’t get it resolved, so I switched to using RECEIVE BUFFER (which is working with with Unicode enabled). There is a hint that 4D Clients that are using serial comms are getting more disconnects from the server when remote (v16.3), but that’s another story!
Tony Pollard Another Dimension Ltd > On 2 Jan 2018, at 3:33 pm, Ken Daniel via 4D_Tech <[email protected]> > wrote: > > 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 < > [email protected]> 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:[email protected] >> ********************************************************************** > ********************************************************************** > 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] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

