01-30-2019 12:24 PM
Good day
I am looking for a method to record a single reading of a continuous running accusation loop.
I have tried to use the write to measurement file but I get multiple data points.
I was looking to use a producer consumer loop configuration but cannot figure a way to only record a single point.
I have included a copy of my VI.
Any feedback will be great
Thank you
Jay Mason
01-30-2019 01:18 PM
Hi Jay,
I am looking for a method to record a single reading of a continuous running accusation loop.
When you want to save just a single sample of your data then you need to save exactly a single sample!
I have tried to use the write to measurement file but I get multiple data points.
Because you are writing an array of samples…
You use the "N samples" mode of DAQmxRead: Use IndexArray to pick a single sample from your data array. (Or use a mean function on the array.) Then save that single sample…