05-10-2024 05:38 PM
I receive measurements that run simultaneously on a chart in real-time. I want to check these measurement points to see if they correlate with my actual signal. That means, I collect measurements and construct my signal from them, and then see if they correlate with my actual signal with a certain deviation. How would this be done in LabVIEW.
I am not sure what is an clever solution.
05-11-2024 10:58 AM
Google "cross-correlation"
05-11-2024 11:59 AM - edited 05-11-2024 12:00 PM
A chart is a lossy UI device with a fixed history where data beyond the history length is irreversibly lost. You probably want to compare the incoming scalar(?) data with a lookup based on elapsed time and other instrumental parameters (temperature, pressure, etc.), but currently your question is too vague to really offer a suitable solution. You need to be much more specific.
Maybe a simple range checking would be sufficient (i.e. Is new signal in rage of old signal +/- allowed deviation?)
We can typically give much more specific help if you would attach a simple Vi containing typical data. For example we don't know the datatype of your "signal".
What are the comparison parameters for "equal"?
Are the signals allowed to have different DC offsets but must have the same shape?
Should they have similar noise? What is the noise (Gaussian? shot?)
Do both have the same number of points?
Can the data be parameterized with a simple model (polynomial, exponential, etc.) as a function of time?
So. Many. Questions.
05-11-2024 05:40 PM - edited 05-11-2024 05:41 PM
Thank u for your respond.
I am measuring the data in real time -> One scalar at time.
To see if it's a sawtooth wave, and I'd like to randomly inspect it over a period of 10 seconds.
My aim is to reconstrucate this signal und check if this signal similar with an other signal. It is allowed to have little error margin.
05-12-2024 12:49 AM
Sorry, can't look at your code at the moment because your version is too new. Consider "save for previous" before attaching (2020 or below).
05-12-2024 02:10 AM - edited 05-12-2024 02:10 AM
Sorry...
Here is the version V20.
05-12-2024 07:37 AM
There are some puzzling things you mentioned in your earlier posts.
Bob Schor
05-12-2024 10:00 AM
@medum wrote:
Sorry...
Here is the version V20.
Thanks, It typically helps to have reasonable default values for all controls so we can reproduce whatever you are doing. I am sure that a frequency and amplitude of zero are not reasonable. Do you know how to define defaults?
According to the configuration of the express VI, you are generating 100 point at a time, and connecting a scalar indicator to the dreaded dynamic data does not change that fact. You also only have one signal, nothing to compare. This VI has very little to do with your original description.
I recommend to start from scratch and explain in detail what you are actually trying to do.
05-12-2024 10:29 AM
05-13-2024 01:23 AM
Thank u very much.
Could u explain me, the block diagram.
And why I need Gaussian Noide SD?