Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69365

Waveform Chart Refresh

$
0
0

Hello,

I'm new of the forum.


I'm working on an Eagle PCI-703 Acquisition board.

My target is to obtain a program to realize data acquisition for static tests. So I need to acquire data and at the same time to display numeric value of the acquired channels on my PC.

 

I'm working on the example program attached.

 

My problem is that if I set a number of samples equal to the acquisition frequency, I have a refresh of 1 s that it could be too much slow.

Instead If I set a lower number of samples, the refresh of the chart becomes faster, but I accumulate time by time a delay in the displayed data that become unacceptable after a while.

 

In an example like this:
Acquisition frequency: 10000 Hz
Number of samples: 1000

 

I think that the program acquires the data in a correct way but for displaying it works in the following way:

It acquires 10000 samples in 1 s (from 1 to 10000);
It takes the 1000 samples (from 1 to 1000) and sends them to the display;
It acquires 10000 samples in 1 s (from 10001 to 20000);
It displays the samples from 1001 to 2000 to the display;
etc...

In this way it accumulates the delay in the display.

 

Do you have any suggestion to solve the problem?

 

Thanks in advance,
Davide.

 


Viewing all articles
Browse latest Browse all 69365

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>