LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set the start and end point when i use integral in labview

Hello,

 

Using DAQ, I can integrate multiplication of two signals(ex) voltage signal * current signal)

 

But I want to set start and end point to integral so that I could target specific time interval.

 

Of course, I can know integral value between two points by seeing graph which show integrated signal

 

But I want to make a table of integral value between two points as two signals change.

 

My reference picture is one of my example.

 

Please let me know how to deal with it. Thank you!

 

0 Kudos
Message 1 of 5
(2,918 Views)

Try using Array Subset to get an array containing only the samples you want.


GCentral
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 5
(2,883 Views)

But My signal has x - axis of time and y - axis of amplitude of signal.

 

When I extract initial array from graph, I can just get amplitude value, not time.

 

Given this situation, using array subset, then how can i extract specific value of specific time?

 

Can I get amplitude value with time value together, not just amplitude value?

0 Kudos
Message 3 of 5
(2,871 Views)

For example, I want to get integral value of amplitude of signal between 0.02ms and 0.04ms.

0 Kudos
Message 4 of 5
(2,868 Views)

You should know or be able to extract the delta between each sample, then it's easy enough. 🙂 If you e.g. sample at 1kHz getting 0.02 to 0.04secs is 0.02*1000 through 0.04*1000 ==> sample 20 through 40.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 5
(2,846 Views)