LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Select from 2-D array

Hello All!

I was wondering if there is a better way to select data from a 2-D array then I have programmed in the attached VI.
The VI should hopefully self-explainitory. Basically, the first column has multiple same strings that i would like to select and have returned the second column of those strings.

Any help would be Great.Smiley Happy

Thanks in advance,
Oliver
0 Kudos
Message 1 of 14
(3,380 Views)
In your first loop you're just populating the combobox. Not much else to do there. The second loop can be considerably simplified by simply auto-indexing your array:
Message 2 of 14
(3,371 Views)
Ah Sweet, Thanks that is way simpler and way better wonder why i had to do it so difficult 🙂
well sorry would like to give you a good rating but still working my way up to 50 posts 😞
0 Kudos
Message 3 of 14
(3,359 Views)
Don't worry about the rating. I don't take much stock in it.
0 Kudos
Message 4 of 14
(3,353 Views)
lol well then i give you a "Chuck Norris, Thumb Up" 😉 for this answer.
I also was wondering how you attach directly a image into a message, I've read it somewhere in this forum but i can't seem to find it again.
0 Kudos
Message 5 of 14
(3,342 Views)
You first attach the image file to a post.  After it is posted, you right-click on the posted file and select copy shortcut.
To the right of your post you will see Options.  Within it, select Edit Message. 
Click on the mountain icon (insert an image) and paste the shortcut you copied earlier..
 
The image will appear where you placed your cursor.
 
See...
 
0 Kudos
Message 6 of 14
(3,336 Views)
An image gets attached the same way you attach a VI or other file. You have to upload the image before you can include it in a message since the image needs to be hosted on a public server, and not your own private computer. Detailed instructions are here. Note that you can usually combine steps 3 and 4 since when you edit the message you will see the link for the image below the message editing area, and you can right-click on the link and select the "Copy Link Location" (or whatever it's called for the browser you're using) to get the URL for the image.
0 Kudos
Message 7 of 14
(3,334 Views)
Also, the Code Capture Tool is an excellent utility to grab screenshots of LabVIEW code for posting.
Message 8 of 14
(3,331 Views)







Nice Thanks to you both




Message Edited by ofahed on 08-11-2008 11:34 AM
Download All
0 Kudos
Message 9 of 14
(3,320 Views)

After you have installed the code capture tool, it is very easy to use.  You select the tool from the menu and it offers options to select the Front Panel, the Block Diagram or both.  It also automatically saves to file!  🙂

R

0 Kudos
Message 10 of 14
(3,313 Views)