LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Noncontinuous Waveform to Plot Points

Hello,

 

I'm trying to make my waveform noncontinuous to plot its points. When I run the program the waveform is continuous so, I'm not able to see the different amplitudes it's recording. Is there any way this is possible? Thank you.

 

DailonDonley_0-1649878971248.png

DailonDonley_1-1649878998255.png

 

 

0 Kudos
Message 1 of 3
(980 Views)

A chart only tracks data points and will assume they are all at the same interval as set by the xaxis scale factor. A graph can contain both a y and x axis value, but that means you have to keep your own array of data (IE everything that will be displayed on the graph) for every data point you want to see.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9zsSAC&l=en-US 

 

Also using bytes at port is the wrong thing to use 95% of the time

https://forums.ni.com/t5/LabVIEW/Bytes-at-Port-Property-Node-When-to-use-it-and-when-not/td-p/334608... 

0 Kudos
Message 2 of 3
(970 Views)

It looks like you are dealing with sampled data (by its very nature "contiguous" (no mathematician would call it "continuous", as there are all those unsampled-points "in between" the samples).  What is it that you really want to do?  For example, if you are sampling at 1 kHz and taking 1000 samples at a time, then once a second, you get 1000 data points.  You can choose to plot it as "a second's worth of data" (1000 points in the plot), or as "10 100-sample increments at t = 0, 0.1, 0.2, ... 0.9 seconds"), or as something else.

 

What is it that you really want to do?  Once you have a clear understanding of "What" you want to do, figuring out "How" to do it is usually straight-forward.

 

Bob Schor

0 Kudos
Message 3 of 3
(948 Views)