Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Burst transmission #81

Open
krono-i2 opened this issue May 22, 2020 · 5 comments
Open

Burst transmission #81

krono-i2 opened this issue May 22, 2020 · 5 comments

Comments

@krono-i2
Copy link

Hello,
I know it is possible to use iio devices in burst mode setting the kernel buffer to 1.
Is there a way to use gr-iio sink blocks in burst mode?
Thank you.

Ivan

@tfcollins
Copy link
Contributor

You will have to modify the source code to change the number of kernel buffers.

Why do you want to change the number of buffers? GNU Radio isn't really great at handling discontinuity in data streams which setting kernel buffers to 1 would do.

@krono-i2
Copy link
Author

I red this solution here:
https://ez.analog.com/adieducation/university-program/f/q-a/105399/adalm-pluto-burst-mode/314111#314111
It's the operation done by Matlab in burst mode.
I hope this will fix my errors in the burst generation.
Thank you.

Ivan

@tfcollins
Copy link
Contributor

Can you explain what you are trying to do? GNU Radio and MATLAB have very different paradigms.

-Travis

@krono-i2
Copy link
Author

Using ZMQ I'm sending messages to my flowgraph every 0.5 s, each message is coded onto a burst (packet) of length 120 us that has to be transmitted by the USRP.
During the time between two packets I want transmit nothing.
Is this the righy way to obtain a consistent transmission of packets?
Thank you.

Ivan

@tfcollins
Copy link
Contributor

The sink block operates on buffers. So when it has a full buffer a data it well send that from the host to the radio, and then start queue buffers behind it. Burst mode would make this worse since it would prevent you from queuing buffers since you can only have 1.

Can you explain more what you mean by consistent transmissions and what you are observing?

-Travis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants