Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5368

Losing data from frame grabber

$
0
0

Hi, I have a frame grabber PCI card in my PC that is receiving streaming data from an autonomous source. The card came with its own driver/library and sends an interrupt after 32KB of data has transferred (can't make that buffer bigger). When I process that data and display it via the PlotIntensity() function, I sometimes miss/lose data most likely due to the time taken to plot. I tried running the data processing in a separate thread - asychronous timer, but it appears that the ProcessSystemEvents() has no effect in a secondary thread, so the PlotIntensity doesn't happen and no display. Is there a way to set this up so that the frame grabber interrupts happen in a secondary thread? Or is there a way to get PlotIntensity to work in the secondary thread?

Thanks, Mike


Viewing all articles
Browse latest Browse all 5368


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>