From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-25-2019 09:42 PM
Having problems troubleshoot this VI any suggestions?
Create a new VI where temperature data, created with the Simulated Temperature
(deg F).vi in the Activity directory, is displayed on a strip chart. Compute
and display the running average of the temperature data.
06-25-2019 10:12 PM
What problems are you having?
I'm suspicious of your loop that implements the running average. Did you look at Mean Pt by Pt?
And what is the definition of running average? (The average of all you've ever taken? Or the average of the last N number of samples as you progress?)
06-25-2019 10:34 PM
The running average is what Im having trouble with
06-25-2019 10:36 PM
What is your definition of running average?
What are you getting versus what are you looking for?
Until you define the problem, it is difficult to find the solution.
06-25-2019 10:40 PM
I'm looking for the average of the last N number of samples as you progress
06-25-2019 11:13 PM
Then look up Mean Point by Point.
06-26-2019 10:56 AM
Also take a step back and do a fea simple tutorials:
06-26-2019 11:45 AM
Also, next time use a more specific subject. Almost all questions her are about "help with VI". You could have said "help with running average", for example.
To explore and compare many way of doing a running average, have a look at our presentation (part II) where I explore various ways of doing exactly that.
Here's how a 10 point running average could look like:
06-26-2019 01:07 PM
How do you connected the "equal to zero" to the "mean," as well as where did you find the bundled DBL and waveform blocks you used? Would you mind attaching the VI in the screen shot?
06-26-2019 01:46 PM
@gigocackirovski wrote:
How do you connected the "equal to zero" to the "mean," as well as where did you find the bundled DBL and waveform blocks you used?
It is mean ptbypt, not mean. Big difference! (find it in the signal processing... point by point... probability&statistics palette). You already know the word "bundle", so I guess you know where to find it. I am not sure what you mean by "block", but the terminal wired to the output is just the chart. It will turn brown automatically once you connect a cluster if the right type.