LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph digital waveform in real time

As the title says, i'm trying to graph data on a digital wave form, but I want the data to be displayed in real time and be able to find the full duration of the code length. The long run project here is to send and receive data via and be able to measure the time delay between when that code was sent and when it was received. (im sending data via UDP currently if that matters at all, which isn't included in the code)

 

I'v attached a pretty sloppy VI of me attempting to get real time values from the data being created from a random binary generator and graphed. But the "get final time" function and "waveform duration" function don't give real time values.

In the VI I also try "get date/time in second" function and create the waveform but that didn't exactly work either.

Hopefully what i'm trying to do isn't too complex, I appreciate any help I can get.

0 Kudos
Message 1 of 4
(2,470 Views)

@UNCCrimson wrote:

I'v attached a pretty sloppy VI of me attempting to get real time values from the data being created from a random binary generator and graphed. But the "get final time" function and "waveform duration" function don't give real time values.


No, they just don't give you the values you want.  They are measuring the amount of time in the waveform.  It sounds like what you are actually looking for is the Pulse Measurements VI (Signal Processing->Waveform Measure palette).



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,452 Views)

Yeah, I guess the values they give just weren't exactly what I was looking for since when I tried inputting a delay it seemed like the time values weren't effected by it at all.

 

Thank you for the quick response, I will take a look at the Pule Measurements VI this afternoon and update on how it goes.

0 Kudos
Message 3 of 4
(2,442 Views)

Yeah i'm just a little bit confused. The time values given from all these different functions don't seem to be effected anyway by delays at all when data is revived or even when a manual delay is applied.

 

Looking at the measurement info on the Pule measurement VI doesn't seem to give any different kinda of values even when there is a delay. So i'm wondering if a lab view extension is needed for what i'm trying to do.

0 Kudos
Message 4 of 4
(2,399 Views)