Jump to content

Array indexing question


Recommended Posts

Hello 187063,

You first said:

if i would like to obtain the values for column 1 and 2 for row a ...
With two columns (and many rows), this is a 2-D array!

You then said:

mine is not a 2 D array, i'm just reading the data frrom a file

So, it's a little confusing as to what it really is :wacko: . Are you saying that the data is in the form of rows and columns but in a file? If this is the case, you can try using the 'Read From Spreadsheet File.vi' This will give you an array which you can index out as shown above. If that doesn't work for you, post a sample data file.

Good luck!

Khalid Ansari

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.