12-07-2010 02:49 AM
Hi
Can someone suggest how to write to a file longer signal (~30 min sample rat 1kHz ), I understand that I have to use a circular buffer, so my computer continuously acquire data in the background while NI-DAQ retrieves the acquired data.
I am using the 8.6 version.
Please advice
Thanks
Yochai
Solved! Go to Solution.
12-07-2010
04:02 AM
- last edited on
11-12-2024
01:26 PM
by
Content Cleaner
I have done something very similar recently. I used parallel loops that both communicated with the same circular buffer. One loop put data into the buffer (a data-acquisition process), and the other loop took it out (to write it to a file).
The only gotcha for me was to make sure that the circular buffer didn't overflow (e.g. we don't want to write to it, faster than reading from it).
I implemented the circular buffer using a LabVIEW 2 style global (a.k.a. functional global variable). The global is just VI that I could call that could either deposit data or remove data in the buffer.
This link should help you get started:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001EBrbCAG&l=en-US
12-07-2010
04:20 AM
- last edited on
11-12-2024
01:27 PM
by
Content Cleaner
Yochai,
i think that you will find that webcast very interesting.
hope this helps,
Norbert
12-07-2010 09:29 AM
Thank you!