by support »
Hello,
The first question that comes to mind is why non-blocking mode isn't supported. You didn't mention which OS you're using. If it's Windows, it's indeed not supported.
However if you're using Linux, non-blocking read is supported for asynchronous streams. All streams except mem_8 in the demo bundle are asynchronous, so if you've running on your own custom IP core, make the relevant stream asynchronous (possibly by defining its use as data acquisition).
Non-blocking read doesn't make sense on a synchronous stream, because the whole point of a synchronous stream is that the data is fetched from its source only on demand.
The Xillybus host application programming guides in the documentation part of the website explain synchronous vs. asynchronous streams in section 2.
Regards,
Eli
Hello,
The first question that comes to mind is why non-blocking mode isn't supported. You didn't mention which OS you're using. If it's Windows, it's indeed not supported.
However if you're using Linux, non-blocking read is supported for asynchronous streams. All streams except mem_8 in the demo bundle are asynchronous, so if you've running on your own custom IP core, make the relevant stream asynchronous (possibly by defining its use as data acquisition).
Non-blocking read doesn't make sense on a synchronous stream, because the whole point of a synchronous stream is that the data is fetched from its source only on demand.
The Xillybus host application programming guides in the documentation part of the website explain synchronous vs. asynchronous streams in section 2.
Regards,
Eli