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

08-13-2014 09:54 PM

Options

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

we need to compare the data that get from daq with this table.

eg, if we get 12.5V , we should get 90% for futhrt calculation.

Highlighted
Options

08-13-2014 09:58 PM

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

But actually it isn't a straight line....we want a more accurate value just follow the table....

Highlighted
Options

08-13-2014 10:46 PM

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

Did you give a try with what I have suggested?

-----

The best solution is the one you find it by yourself

The best solution is the one you find it by yourself

Highlighted
Options
I get to know linear fit from NI website. But the data we have are not follow a straight line. We want to follow the table accurately. If use linear fit, it may have error. like when voltage eaquls 12.4V, SOC become 85% not 80%...

08-13-2014 10:56 PM

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

Highlighted
Options

08-13-2014 11:08 PM - edited 08-13-2014 11:10 PM

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

did you do what christian has suggested....

and as you've said,"But the data we have are not follow a straight line"....again, the key word here: interpolate array

Highlighted
Options

08-14-2014 02:07 AM

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

Hi xuan,

as you struggle to follow advices given here and just started to create double posts in the forum (what is really bad!) I will show you a possible solution:

Best regards,

GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO

GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO

Highlighted
Options

08-14-2014 10:04 PM

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

could you please attach the vi here? I try to build the vi like the one you do but some of functions cannot find...

Thanks!!!

Highlighted
Options

08-15-2014 01:44 AM

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

Hi xuan,

which function?

SpeadsheetStringToArray? Any of the simple mathematics functions? Or one of those two array functions?

Best regards,

GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO

GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO

Highlighted
Options

** LabVIEW Champion. It all comes together in GCentral **

**What does "Engineering Redefined" mean??**

08-15-2014 09:29 AM - edited 08-15-2014 09:30 AM

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

Let us keep it to the basics. All you need is a calibration array of points aanndd "interpolate array". 😄

Download All

Virus scan in progress. Please wait to download attachments.

Highlighted
Options

08-17-2014 09:48 PM

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

Really thanks for your help!!!

But I need to get my voltage from a daq. While data for daq and Interpolate 1D are not the same so I convert daq data to a 1D array and use Index Array function to connect the element inside to the Interpolate 1D, but I don't know how to set the index no. of the Index Array.

Do you know how to connect my daq to the program???

Thank you again!!