Re: [Synalist] Getting the timestamp of data received at the USB port through synaser
Pascal TCP/IP Library
Brought to you by:
geby
From: waldo k. <wki...@wi...> - 2015-05-31 21:33:06
|
On 05/31/2015 04:51 PM, Andrea Conti wrote: > My laptop should manage two peripherals connected at two USB ports. > I'm going to use the synaser unit of Synapse and in particular the TBlockSerial > class. > I use Lazarus. > > Is it possible to get the timestamp of the input data's arrival at the USB port ? > If there were an event called when some data arrived, then my program could look > at the timer when the event occurs and register the arrival's time. > But on this page: > > http://ararat.cz/synapse/doku.php/public:howto:readevent > > you say that there is no such event in the Synapse package. > > Unfortunately I need to know the timestamps in order to correctly relate the > data coming in from the two peripherals. > Thank you. can't you stamp the data when you pull it from the buffer? or add the stamp to it when you put it in the buffer? -- NOTE: No off-list assistance is given without prior approval. Please *keep mailing list traffic on the list* unless private contact is specifically requested and granted. |