11-12-2017 07:43 PM
Hello guys,
Iam having what i would like to think is an unsuspected behavior on on a function (1D dbl array circular buffer) that contains DVRs.
i decided to use DVRs because i need several of these functions for different processes on my sw.
I initialize three DVRs of the same function
here is some details:
a loop that runs 10 hz fast
every run i read from hw a 2D array (5 channels 5 samples/channel) and convert this 2D array to 1D array of 25 elements and add it circular buffer DVR # 3.
every 10 reads i then i jump to another loop by triggering an event and i attempt to read this function and log this data to disk.
i expect to see 225 data after i filter 0's.
what it is happening is that for several minutes I get the expected samples but then it only yields 25 samples and never recovers from that.
Any ideas why Iam getting what seems to be only one run worth of data?
thanks in advance.
11-12-2017 09:46 PM
Please attach your code (one or more files ending in .vi) so we can see, test, modify, and understand what you did and/or trying to do.
Bob Schor