Modify

Opened 13 years ago

Closed 13 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)

Change History (1)

comment:1 Changed 13 years ago by Suren A. Chilingaryan

Resolution: invalid
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Suren A. Chilingaryan.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.