LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

while loop time?

So do you mean that I don't need the shift register when I am using chart?

 

The reason I set dt and T0 is that after doing the average, the result is only a number (or a set of nember) instead of a waveform, so I set the dt and T0 to make a new waveform. Is there any way to do the average without losing the information about dt and t0?

 

Thank you!

 

Jude

 

 

0 Kudos
Message 11 of 12
(323 Views)

@JudeLi wrote:

So do you mean that I don't need the shift register when I am using chart?


As I said before, a CHART keeps a history.  So you don't have to keep the data sitting around just for display purposes.

 


JudeLi wrote

The reason I set dt and T0 is that after doing the average, the result is only a number (or a set of nember) instead of a waveform, so I set the dt and T0 to make a new waveform. Is there any way to do the average without losing the information about dt and t0?


If you look at the VI I gave you, you will see how I took care of that.  When setting the waveform attributes the default values are taken from the waveform you pass in.  So I just used the waveform from the DAQmx Read and just wrote the Y attribute with the average.



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 12 of 12
(319 Views)