FTDI Community

General Category => General Discussion => Topic started by: Pierre on October 19, 2021, 02:35:28 PM

Title: Return the driver to his standard behavior after using FT_SetEventNotification
Post by: Pierre on October 19, 2021, 02:35:28 PM
I am using FT_SetEventNotification() as shown in the driver documentation example and start a thread to receive and process the FT_EVENT_RXCHAR events.

Once I collect all the expected data, I kill the receiving thread and want to return the driver to its default behavior; i.e. cumulate the received bytes in its internal buffer without generating the FT_EVENT_RXCHAR event.

How can I do this?
Title: Re: Return the driver to his standard behavior after using FT_SetEventNotification
Post by: FTDI Community on October 20, 2021, 10:58:26 AM
Hi,

what programming language are you using? are you able to show a screenshot of your code?

Best regards

FTDI community