Skip to content

Continuous TX\RX. #1216

@fzybot

Description

@fzybot

Hardware: Ubuntu 22.04, Adalm Pluto SDR <-> USB cable, libiio v1.
Is there any tip on how to be sure that we do not lose any samples?
For instance:

    while (1)
    {
        rxblock = iio_stream_get_next_block(rxstream);
        txblock = iio_stream_get_next_block(txstream);
        .....
        .....
     }

Can I be confident that next block will be a real samples in time? And we are not loosing any samples?
I have tried to transmit just a rectangle impulse on TX block, and receive it on RX block. Some times I'm getting rectangle impulse cut in half, sometimes complete impulse....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions