How to log a frame based signal to file in xpc Target?

1 view (last 30 days)
An analogue input card acquires data at 50kHz within a frame of size 5. I want to log this signal to file and also down sample this signal to 10kHz which is then used in a control loop. The down sampled signal and original signal should remain synchronised appropriately. Can any one suggest how to construct a simulink diagram, blocks and configuration parameters to do this.
I have tried to unbuffer the framed signal but this creates a multichannel sampled signal but whose time steps are not synchronised to the down sampled signal.

Answers (0)

Community Treasure Hunt

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

Start Hunting!