How to get continous white noise using Simulink to produce analog output from NI USB 4431 DAQ ?

I have to generate continuous white noise using the NI USB 4431 Analog output using SIMULINK. For that, I created an (i) white noise block and (ii) analog output block in the simulink, after this, I connected both blocks to generate the output.
When I am running the Simulink, the white noise generating through the NI DAQ is not continuous; it is staggering.

Answers (1)

Hi Raja,
I understand from your query that you want to know why the generated white noise is staggering rather than continuous.
You can use the Band-Limited White Noise block to introduce white noise into continuous system. You can learn more about it from the given documentation:
You can try the following steps to ensure that the output you get is continuous:
  • Ensure that the sample rate of the White Noise block matches the requirements of NI USB 4431 Analog Output.
  • You may need to increase the sample rate to achieve a smoother, more continuous output.
  • Verify that the White Noise block and the Analog Output block are synchronised in terms of their clock signals.
Hope this helps.

Products

Release

R2023a

Asked:

on 30 Nov 2023

Answered:

on 5 Dec 2023

Community Treasure Hunt

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

Start Hunting!