Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

El_Tipo

Member

09-26-2016 09:42 AM

Options

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

I have a line connecting 1st and last point of a signal and i want to find the area enclosed by all the regions below & above the line.

I have attached a VI with two scenarios where the area value does not seem to be correct based on visual observation.

note: the vi contains some Open G functions. which i can translate to native LV if need to.

any help will be apreaciated.

Solved! Go to Solution.

Wolleee

Active Participant

09-26-2016 10:36 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hi,

A little confused what youre trying to do, but if im correct youd like to take the area between to functions? Can you subtract the integration of the lower function from the integration of the larger?

-Matt

09-26-2016 10:43 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Thanks for asking.

I want to find the area of my signal with respect to a straight line, sort of like normalizing my x-axis so that the skewness of fist and last point don't have as much weight.

Most of the time the area seems correct based on the visual of the above and below region size, a couple scenarios seems like a small region above (visually 10% of total) has a grester área than a larger area ~90% of the signal.

altenbach

Knight of NI

09-26-2016 01:45 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

- You are using Openg toolkit VIs. I don't have those so please include any subVI that does not ship with LabVIEW.
- Why is the datatype EXT most of the time?

09-26-2016 02:52 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Here is the vi without the OpenG stuff.

the EXT was due to one of the OpenG functions.

thank you in advance altenbach.

Solution

Accepted by El_Tipo

altenbach

Knight of NI

09-26-2016 03:15 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Maybe something like this?

09-26-2016 03:18 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

clean and to the point as expected.