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

Pacarranza9727

Member

10-29-2016 07:57 PM

Options

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

If I had an array, and I wanted to build a different array that are multiples of a specific number, how would I go about it?? THANK YOU!!

Solved! Go to Solution.

Solution

Accepted by Pacarranza9727

RavensFan

Knight of NI

10-29-2016 08:16 PM

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

Loops, multiplication, addition.....

Think of how you'd do it manually on paper. Then you should be able to figure out how to do it in LabVIEW.

Bob_Schor

Knight of NI

10-29-2016 09:02 PM

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

Also, the on-line LabVIEW Tutorials should cover this in the first 2-3 lessons. Or listen in class, ask your classmates for homework help ...

Bob Schor

altenbach

Knight of NI

10-29-2016 10:42 PM

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

@Pacarranza9727 wrote:If I had an array, and I wanted to build a different array that are multiples of a specific number, how would I go about it?? THANK YOU!!

I would use definitely LabVIEW to do this.

You say you "have an array" From where and in what form? How long? What datatype?

In what way should the different array depend on the elements of the original array?

What is your definition of "build"?

Where does the "specific number" come from? Do you want a new array where each element is the respective value of the original array multiplied by that number or something else?

natasftw

Active Participant

10-29-2016 11:03 PM

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

As it stands, you want to create an array with a set multiple of a certain value. Initialize Array and you're done. But, I suspect you've got more that you didn't bother telling us and instead hoped we'd read your mind =/