how can I simulte random data acquisition without actually acquisiting it using Data Input Hardware?

1 view (last 30 days)
We're Trying to build GUI that plots rapidly incoming data as soon as it's acquired (data against time function). We don't have any actual Data Input Hardware to use, so we want to simulate it using random changing matrices. We thought about placing the matrices in a loop so it will change rapidly as long as the loop runs, and produce an active changing data plot.

Accepted Answer

Star Strider
Star Strider on 7 Jun 2014
I’ve not used the Data Acquisition Toolbox (I don’t have it), only the Serial Port Devices functions in core MATLAB (with a fingertip pulse-oximeter), so my experience is limited.
If you have a second computer available (with MATLAB), consider configuring it as your data acquisition device, and run your hardware simulation on it, connecting the two computers with a USB cable or Bluetooth or whatever you plan to use. The advantage is that you get a somewhat more realistic simulation.
  2 Comments
Star Strider
Star Strider on 8 Jun 2014
My pleasure!
Please tell me how it goes, and what you did to make it work.
Also, when it works as you want it to, post a demo with code and even a video to the File Exchange as a tutorial.

Sign in to comment.

More Answers (0)

Categories

Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!