From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read the array elements individually fron two dimensional array?

I need to read the array elements from two dimensional array? Hoew to do it? Please help..thank in advance
0 Kudos
Message 1 of 12
(13,020 Views)

Hi deepak.aamecece,

you can use nested for loops or you use the index array function.

 

Mike

Message 2 of 12
(13,019 Views)
1.png
Regards
Guru (CLA)
Message 3 of 12
(13,014 Views)

Vauge question, ... vauge answer: Index Array.

 

 

Please be more specific in your question.  Do you want to iterate through them and perform some operation? Then the autoindexed loops shown will do that. Do you need to read specific elements, then Index Array will do it.

 

This is basic, first-day LabVIEW knowledge. Have you at least done the tutorials? To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

0 Kudos
Message 4 of 12
(12,987 Views)
Thank you for those who responeded for my question...
0 Kudos
Message 5 of 12
(12,959 Views)

Wow really great answer Smer, unfortunately, most of us don't sit at a desk and study LV all day, we need to fix equipment and create profit, please try to understand this and show more consideration. This is not the stackoverflow board, but it sounds more like it every day.   

Message 6 of 12
(10,941 Views)

Hi fullmanido,

 

so you are angry about a thread nearly 4 years old? Where smercurio is giving the (correct) hint to go through some basic LabVIEW courses?

 

When you want to create profit for your company you're better off with some tutorials before starting coding! 😄

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 12
(10,932 Views)

fullmanido,

 

Smerc's response was perfectly fine.  The question was vague.  A solution was given that only applies if one assumed what was asked.  It completely missed the other possibilty.  S_mercurio let him know that the question was vague and filled in the the two possible solutions which depend on what the real question it.

 

If you are too busy working in the lab, then please don't waste your time calling out people for perceived slights that just aren't there.

0 Kudos
Message 8 of 12
(10,931 Views)

@fullmanido wrote:

Wow really great answer Smer, unfortunately, most of us don't sit at a desk and study LV all day, we need to fix equipment and create profit, please try to understand this and show more consideration. This is not the stackoverflow board, but it sounds more like it every day.   


You do realize this thread is 4 years old?  And I don't see where Smer was being inconsiderate.  He said it as it is and gave way more information than most.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 9 of 12
(10,928 Views)

Apparently fullmanido has a very short history (6 months ago) of just trolling with criticisms of people's responses in very old threads.

Message 10 of 12
(10,923 Views)