Thanks for the Sybcobs suggestion, I didn't know there was such a thing but it 
seems like a great way to prevent simultaneous data/hardware events.

James
-----Original Message-----
From: fpc-pascal <[email protected]> On Behalf Of Brian
Sent: Thursday, August 29, 2019 10:50 AM
To: [email protected]
Subject: Re: [fpc-pascal] USB Human Interface Devices

A bit of clarification ..

Also rather than using critical sections , use syncobs to ensure that you are 
not trying to /SIMULTANEOUSLY/ read and write to the same USB address or your 
data memory. 

Try using an Ethernet UDP connection to simulate the USB connection as it may 
illuminate an issue in your program.

The Synapse UDP function works well



--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______________________________________________
fpc-pascal maillist  -  [email protected] 
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to