How to capture data and monitor them at the same time?
1 view (last 30 days)
Show older comments
This is about my final year project. I need to capture the temperature and pressure information of a device continuously. And for safety issue, I also need to keep checking the temperature data all the time. When the temperature is too low, the it should be able to generate a signal the turn off the device automatically. So I hope to find a method that I can use to capture and monitor the data at the same time. But I cannot find any example online.
0 Comments
Accepted Answer
Walter Roberson
on 10 Aug 2015
Using the Session Based Interface, create callback functions that collect chunks of data and process it, and start a Background acquisition. You could also use a timer function to periodically check the latest values, or you could set your trigger repeat count to collect a block of data for a time and check the block contents before continuing. (Checking a sample at a time is inefficient.)
More Answers (0)
See Also
Categories
Find more on Simultaneous and Synchronized Operations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!