Info

This question is closed. Reopen it to edit or answer.

Trying to get data from a delay line-Block in a xPC-Target Application on runtime

1 view (last 30 days)
Hey everybody,
I'm using a delay-line-block in a xPC-Target Application to buffer 20 Samples, so the overall overhead for requesting the data is less. The block is connected with an Input of an ADC. And in case of recieving just one sample manualy from the ADC with an .Net command I get the right Signaldata around -10 to 10.
If I try to get the 20 Samples out of the delay-line-block at once using .Net commands I'm getting an unrealistic high signal *10^9, which is rising with continuing runtime. Did anyone happend the same or does anyone know why this happens and how it can be fixed?
Thanks for answering
Svenja Siewers
  1 Comment
Geoff
Geoff on 20 Mar 2012
Can you post the relevant line(s) of code for retrieving one sample at a time, and 20 samples at a time?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!