cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

1-D Waveform Array analysis

Solved!
Go to solution
Highlighted

1-D Waveform Array analysis

High all, I have a voltage waveform that I would like to analyze for a pass fail test. It is a discharge waveform and I have attached a photo of what it looks like. I would like to find the amount of time it takes to discharge to 10v from the max voltage. Any ideas of how I should do this? I am not that experienced with working with arrays in labview. 

 

I have attached the vi i am using to measure the waveform as well.

 

Thanks!

0 Kudos
Message 1 of 5
(254 Views)
Solution
Accepted by topic author KovAcevich7
06-19-2017 12:29 PM

Re: 1-D Waveform Array analysis

You can try using a for loop. Right click on the for loop and you can make it "conditional" which means you can stop it based on a condition. 

 

For the condition I would do something like (previous value > 10) AND (current value < 10). You can get the previous value by using a shift register.

Message 2 of 5
(229 Views)

Re: 1-D Waveform Array analysis

In order to find the index of that array element, would you use the loop interation counter?

0 Kudos
Message 3 of 5
(210 Views)

Re: 1-D Waveform Array analysis


KovAcevich7 wrote:

In order to find the index of that array element, would you use the loop interation counter?


Yep


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

The discussions from the Advanced User Track is not over. Join in the conversation: 2016 Advanced Users Track
Message 4 of 5
(188 Views)
Solution
Accepted by topic author KovAcevich7
06-19-2017 12:48 PM

Re: 1-D Waveform Array analysis


crossrulz wrote:

KovAcevich7 wrote:

In order to find the index of that array element, would you use the loop interation counter?


Yep


Kind of:

dmm_digitize.png

The vi pulls out the dt and y components, searches for the max and then looks for the index where the curve passes through threshold and calculates the discharge duration.  The negates are there because threshold array only looks for rising edges.

Message 5 of 5
(180 Views)