10-22-2018 08:40 AM
Hi there, in my program a small error occurred.
The following error occurs in all exported files:
With the defined task I get all 0.004 seconds 3 values from 3 different physical input channels.
Exactly one second, the time series jumps to another interval. The error occurs only on exactly one second. In the second (2, 3, 4...) The error does not occur!
Does anyone have an idea what problem that can be?
Thanks!
Solved! Go to Solution.
10-22-2018 09:13 AM
How is the task defined? As Continuous Samples or N Samples?
10-22-2018 09:17 AM
Oh, sorry for this missing Information.
It is defined as continious.
10-22-2018 09:21 AM
Okay. I was thinking that if it was N samples, a small Windows hiccup might cause you to miss some milliseconds worth of data. Continuous should work since it keeps the buffer going and the data should be there in the event of delay.
Attach the actual VI so we can see what some of the values you have in the controls.
10-22-2018 09:39 AM
Here is the current Version of the Vi
10-22-2018 11:39 AM
It looks like you are clearing the task after every iteration, so it needs to make a new task each time.
mcduff
10-22-2018 01:00 PM
Good catch. I completely missed that.
That would effectively kill the positive things about Continuous Samples.
10-22-2018 01:04 PM
@RavensFan
Everybody misses an "extra point" every now and then.
10-22-2018 01:53 PM
@mcduff wrote:
@RavensFan
Everybody misses an "extra point" every now and then.
Oh nooo!!! Too soon!