03-21-2014 11:04 AM
Hi all,
I am currently trying to stream analog data on 8 channels at 500kHz each, 16 bit. I would like to read stream and log continuously during few hours.
I use a cDAQ 9139 and NI 9220.
This data must be synchronised and the file length should be between 1 and 5 min.
Thank you for your help!
Mermaid
03-26-2014 10:38 AM
Hi Mermaid,
This sounds like a fairly simple task in that you could use a DAQmx task with the 8 channels on the 9220 device set, and then log those to file. There is a good example included with LabVIEW which I have attached for you to look at. You can add each channel to the task in the Physical Channel box on the front panel with a comma delimiter, for example: Dev1/ai0, Dev1/ai2.
It also shows one method of logging to file using the DAQmx Configure Logging vi. Another method is logging the data after using the DAQmx read VI with a producer consumer architecture of which there is an example on our community page for you to use:
https://decibel.ni.com/content/docs/DOC-2431
If you have any questions let me know.
Best Regards,
James Kent