LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to find the index of elements in a string array

Solved!
Go to solution

Dear All, 

 

I am reading a test file and converting it into a string array. Now I want to find the index of certain element/s in the array. I have written up a small Vi that reads only the text element in the string array (let say there is an element "End" in the array, the vi reads all the End elements and giving me the indices. However when it comes to text and numeric elements , Vi is not returning anything). I am attaching the Vi and file for you to have a look. Let say I want find the index of 41th element in the string array which is "FrontLayer: fused-silica 92.222841". You help is greatly appreciated. 

0 Kudos
Message 1 of 2
(1,035 Views)
Solution
Accepted by topic author HassanIqbal

I managed to find the indices. 

0 Kudos
Message 2 of 2
(1,010 Views)