Multiple DAQ Sessions in Background
Mostrar comentarios más antiguos
I am aware that acquiring multiple channels with different sampling rates is not currently supported as such. I came across the possible workaround of creating an individual session for each channel and setting those sessions' sampling rate.
This would also allow me to easily control the place where the data should be stored for each channel.
The questions on this are:
- Is is even possible?
- What would that mean for the background acquisition process? In my scenario up to eight channels and therefore eight different sessions would acquire in the background. A listener waits for 3 Mio. datapoint being taken before triggering a storage script, which stores those 3 Mio datapoints into a new file.
- Individual sampling rates are not an absolute must. Is there an easy way to extract data from individual channels?
I am using a NI-PCI 6123 on a Windows 7 machine, MATLAB 2016b. Typical Sampling rates are 100 kHz.
Respuestas (2)
Christian
el 15 de Dic. de 2016
2 votos
Vinod
el 29 de Dic. de 2016
1 voto
You can have multiple DAQ sessions with different devices, just not multiple sessions with the same device.
In your application I would set the sampling rate to the highest you need and downsample the data for the other channels using the ' resample' function.
1 comentario
Christian
el 29 de Dic. de 2016
Categorías
Más información sobre Data Acquisition Toolbox Supported Hardware 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!