LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I show every x-th point of my data measured?

I use "High Speed Data Logger.vi" to measure my data.
While measuring (data acquisition), I want to show every x-th point of the data obtained in real-time if my computer has enough speed to do so.
Could anyone kindly tell me how to do it?
0 Kudos
Message 1 of 3
(2,589 Views)
Hi,

The typical way of doing something every x- times, is to wire the "x" of a "Quotient & Remainder" to the counter "i". Check the "R" output for e.g. "0". The output will be "0" every "y" times.

If you really need to do stuff depending on the processor load, it can get ugly. windows has some dll's that can query the processor load. I tried this once, and it does work. Another possibility is to use the "skip subroutine when busy" option, in a buffer vi. This seems to work surprisingly well. (See attachment)

I would prefer to just always display 1/x points.

Regards,

Wiebe.

"Chunrok" wrote in message news:506500000008000000DBCD0000-1079395200000@exchange.ni.com...
> I use "High Speed Data Logger.vi" to measure my data.
> While me
asuring (data acquisition), I want to show every x-th point of
> the data obtained in real-time if my computer has enough speed to do
> so.
> Could anyone kindly tell me how to do it?
Download All
0 Kudos
Message 2 of 3
(2,589 Views)
Another way is to use the "Decimate 1D Array".

-Joe
0 Kudos
Message 3 of 3
(2,589 Views)