Latency Timer, Windows control panel setting
The VCP, Virtual COM Port driver from FTDI has a Latency Timer that can be manually adjusted. Using the default settings supplied with the driver (16 ms) appears to result in larger buffering delays for samples incoming from the OpenBCI dongle bluetooth link. To adjust it, use your Control Panel as follows:
In Control Panel / Device Manager / Ports / USB Serial Port (your COM port for the dongle) / Port Settings / Advanced -- (whew!), is a setting called "Latency Timer" in milliseconds. This is an FTDI specific item that controls how responsive the link is. The default is 16 ms. After changing this to 1 ms, the buffering pauses should improve substantially. We don't believe there is any noticeable CPU penalty for this change, since the amount of data is small.
William

Comments