Modify ↓
Opened 14 years ago
Closed 14 years ago
#50 closed defect (invalid)
Streaming is not working
| Reported by: | Matthias Vogelgesang | Owned by: | Suren A. Chilingaryan |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | pcilib | Version: | |
| Keywords: | Cc: | Suren A. Chilingaryan |
Description
Streaming fails with an internally generated "Lost DMA buffers are found (non-persistent mode), reinitializing..." and thus the callback is not called.
Also pcilib_stream blocks, which is rather inconvenient. Either make it non-blocking or provide a function to set the callback independently of this function.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/ufo/chrome/site/your_project_logo.png)
Lost DMA buffers is a warning message informing that inconsistent DMA buffers are detected and re-initialized. Generally, this means the last invocation of pcitool crashed and the buffers were not properly cleaned. It should not cause any problems. Buffers will be cleaned and re-initialized.
pcilib_stream is blocking. I don't like to start threads in the libraries unless there is no way around. I think the top-level should do the threading job according to the requirements set by the user. To terminate grabbing process, you may use pcilib_configure_autostop call or call pcilib_stop from the parallel thread.