View Single Post
Old March 14th, 2019, 04:43 PM   #3

Iner is offline
Join Date: Mar 2010
Location: France
Posts: 157
How the strings are being received?

Serial communications? Sockets? Are they sent as a string, or do you need to organise them when you receive it?

If this is by exemple a barcode reader connected to a serial communication card, you can easily store each received barcode to an array. But you would need to create your array with a big enough size and know the frequency of data being received.

You could add a second array of time to store the time and then check it it's more or less than 15 seconds to manage it.
  Reply With Quote