Hi @Lesiastas See the following code: - Selects the 3rd device configuration for AD1/2 which allocates 16k digital buffer. - Uses record mode with compression to capture more samples than the device buffer. Module Module1 Function decodeUart(ByRef rgData() As Byte, ByVal cSamplePerBit As Integer, ByVal pin As Integer) As List(Of Byte) Dim pData As Boolean Dim fData As Boolean = True Dim cSamples = rgData.Length Dim rgUart As New List(Of Byte)