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

bdcpp08

Member

06-14-2016 05:24 AM

Options

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

Hi,

I am new in this field. I am getting a problem regarding to my vi and I need help. I have read the excel data sheet in the block diagram and smoothed the X and Y values by SG filater. So my problem starts from here-

1. First I want to take derivatives of Y with respect to X . For this purpose I used the derivative function but I am not sure whether this is correct or not.

2. Next I want to plot the derivative of Y with respect to X and to find the X value for the maxima of dY/dX.

Any help will be appreciated.

Thanks-

Solved! Go to Solution.

PalanivelThiruvenkadam

Active Participant

06-14-2016 05:30 AM

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

@bdcpp08 wrote:Hi,

I am new in this field. I am getting a problem regarding to my vi and I need help. I have read the excel data sheet in the block diagram and smoothed the X and Y values by SG filater. So my problem starts from here-

1. First I want to take derivatives of Y with respect to X . For this purpose I used the derivative function but I am not sure whether this is correct or not.

2. Next I want to plot the derivative of Y with respect to X and to find the X value for the maxima of dY/dX.

Any help will be appreciated.

Thanks-

can you provide exact requirement on whats your input and what is your expected output "Title and contents seems mismatching"

----------------------------------------------------------------------------------------------------------------

பழனிவேல் திருவெங்கடம்

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.

-----------------------------------------------------------------------------------------------------------------

பழனிவேல் திருவெங்கடம்

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.

-----------------------------------------------------------------------------------------------------------------

Rizwan00

Member

06-14-2016 05:53 AM

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

use this sorting vi so that u can get the maximum of one value with respect to the other.......

There are two ways to tell s thanks in forums : either give Kudos or Marked Solutions

06-14-2016 06:07 AM

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

Hi,

My inputs are voltage (V) and current (I) data which is in a excel spreadsheet and my required output is the value of voltage corresponding the maxima (as shown in the picture below) of the first derivative of current with respect to the voltage (dI/dV).

PalanivelThiruvenkadam

Active Participant

06-14-2016 06:11 AM

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

@Rizwan00 wrote:use this sorting vi so that u can get the maximum of one value with respect to the other.......

There are two ways to tell s thanks in forums : either give Kudos or Marked Solutions

are you trying to sort using some order (maximum to minimum) or trying to find the elemnt with maximum value in an array?

----------------------------------------------------------------------------------------------------------------

பழனிவேல் திருவெங்கடம்

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.

-----------------------------------------------------------------------------------------------------------------

பழனிவேல் திருவெங்கடம்

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.

-----------------------------------------------------------------------------------------------------------------

Rizwan00

Member

06-14-2016 06:11 AM - edited 06-14-2016 06:13 AM

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

use this vi... or else share excel data i will make a entire vi for ur case

There are two ways to tell s thanks in forums : either give Kudos or Marked Solutions

Rizwan00

Member

06-14-2016 06:13 AM

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

i will sort and find maxima or minima

Solution

Accepted by topic author bdcpp08

PalanivelThiruvenkadam

Active Participant

06-14-2016 06:19 AM

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

@bdcpp08 wrote:Hi,

My inputs are voltage (V) and current (I) data which is in a excel spreadsheet and my required output is the value of voltage corresponding the maxima (as shown in the picture below) of the first derivative of current with respect to the voltage (dI/dV).

If my understanding is correct you can do this simple methods

From the 2D Array Extract dI/dv and Voltage Value

USe Array Min Max Function and Get the Index of Maximum value for dI/dt and use the same index in voltage array which will give you the maximum voltage value

----------------------------------------------------------------------------------------------------------------

பழனிவேல் திருவெங்கடம்

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.

-----------------------------------------------------------------------------------------------------------------

பழனிவேல் திருவெங்கடம்

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.

-----------------------------------------------------------------------------------------------------------------

Rizwan00

Member

06-14-2016 06:21 AM

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

ya this will also help you....

There are two ways to tell s thanks in forums : either give Kudos or Marked Solutions