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

Highlighted

05-24-2016 11:56 AM

Options

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

Hi All,

I have two spectral waveforms that I need to multiply together.

The wavelength (X Axis) for each spectral measurement is non-linear and each graph has slightly different element 0 values.

This means I cannot just multiply the spectral values (Y Axis) and re-nornalise them.

Is there a method in LabVIEW that is able to do this. I have tried curve fitting and then using the generated curve but that also does not seem linear. I have also tried converting the XY Graph to a waveform and resampling it but as the X Axis is non-linear this does not work either. I don't particularly want to do the interpolation and multiplication manually but will if I have to.

Attached is a vi with some data. I only have access to LabVIEW 2012.

Thanks,

Greg

Solved! Go to Solution.

05-24-2016 12:29 PM

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

check this

05-24-2016 12:51 PM

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

Hi Hatef,

Thanks for the reply. That does work in getting the array sizes the same, but I was looking for a way to get the X Axis values the same too. This would need some interpolation and would be more generic especially if the one array is not twice the size of the other.

Greg

05-24-2016 03:12 PM

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

for you

test this vi

05-25-2016 12:49 AM

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

Can you please save it back to LabVIEW 2012?

Thanks,

Solution

Accepted by topic author GregPayne

05-25-2016 01:08 AM

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

05-25-2016 02:01 AM

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

Thank you. I thought there must have been a LabVIEW function somewhere.

05-25-2016 02:10 AM

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

your welcome

I hope it solve your problem

I hope it solve your problem