LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with FP-2000 update interval jitter.

I'm trying to read the data from FP-2000/FP-AI-100 at 10 ms update interval using datasocket. So far, I was not able to achieve stable 10 ms update, even when using RT FIFO and time ctitical looping technique. Could anyone advise me on how to get rid of this jitter?
0 Kudos
Message 1 of 2
(2,652 Views)
In LabVIEW RT 6.1 and earlier, there's a shipping example entitled "Array Initialization Benchmark.vi", which uses counters to timestamp sample code, generating an execution histogram. The histogram reveals the level of jitter inherent in the sample code.

I'd recommend measuring the jitter of individual pieces of your application. First, make a copy of the benchmark example and replace the counter VIs with Get Tick Count. Then stick FP Write.vi (by itself) inside the loop with some bogus value wired to it. The execution histogram will be accurate to within milliseconds and will tell you whether FP Write.vi alone is responsible for the 10+ms jitter.

You might have to try a few combinations before you find the "problem" VI. If in fact the problem VI is
something out of vi.lib or one of our examples, your next step should be to e-mail or call an RT applications engineer with your data.
0 Kudos
Message 2 of 2
(2,652 Views)