Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

2 vues (au cours des 30 derniers jours)
Svenja
Svenja le 19 Mar 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaire
Geoff
Geoff le 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?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by