01-30-2019 12:31 PM
Hello all,
I'm working with LabVIEW 2016 and I use the AMC (asynchronous messaging communication) library.
In my VI, one of the cases handles a message where I get some data and insert it into an array with a counter increment.
In the timeout case, I check if the counter has reached the target. If it has, there's some code being executed. If it hasn't, then there's some other code being executed.
Now assuming the timeout of 10ms is small enough to keep up with the rate of new incoming data (e.g. 25ms), do you see a scenario where I might lose some samples, or I might miss a counter value. For example, if the counter goes from 0-24, is there any way that during one of the iterations I might skip a count and go from 1-25 instead of 0-24?
I'm just trying to see if there is some corner case I'm missing.
Thanks!
01-30-2019 02:48 PM
Hello all,
I'm working with LabVIEW 2016 and I use the AMC (asynchronous messaging communication) library.
In my VI, one of the cases handles a message where I get some data and insert it into an array with a counter increment.
In the timeout case, I check if the counter has reached the target. If it has, there's some code being executed. If it hasn't, then there's some other code being executed.
Now assuming the timeout of 10ms is small enough to keep up with the rate of new incoming data (e.g. 25ms), do you see a scenario where I might lose some samples, or I might miss a counter value. For example, if the counter goes from 0-24, is there any way that during one of the iterations I might skip a count and go from 1-25 instead of 0-24?
I'm just trying to see if there is some corner case I'm missing.
Thanks!