Live Plotting while Acquiring Data without losing the data (NI USB-6009)
Mostrar comentarios más antiguos
Hi,
I am not totally sure how to ask the question I have as I am kind of thrown into data acqusition area without any prior knowledge of theory or practice.
I am using Data Acquisition toolbox to collect voltage data using NI USB-6009 using an analog input. I need to store this data in an array AND display it real-time while data is being acquired. I found following documentation:
Using this, I can create a live plot via assigning the function handle to dq.ScansAvailableFcn. However, as the function reads the data, the buffer is emptied, and I can not figure out a way to retain it. Is there a way to use the read function without deleting the acquired data (so I can read all at the end of the background process while showing it)? Or better yet, am I even asking the right question?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Data Import and Analysis en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!