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: 

array of strings

Solved!
Go to solution

Hello,

Which function can I use to see the second element of one array. In my case, I want to use one array of strings, so I want to see the second string of the array.

0 Kudos
Message 1 of 5
(1,954 Views)
Solution
Accepted by topic author labview99

index array

Tim
GHSP
0 Kudos
Message 2 of 5
(1,951 Views)

Thank you so much Tim!!

Best regards

0 Kudos
Message 3 of 5
(1,940 Views)

Hi 99,

 


@labview99 wrote:

Hello,

Which function can I use to see the second element of one array. In my case, I want to use one array of strings, so I want to see the second string of the array.


Simple answer:

  1. set the array index to "0"
  2. resize the array indicator to show 2 elements: now you can see the 1st and 2nd element…
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(1,923 Views)

Thank you so much!!

Best regards

0 Kudos
Message 5 of 5
(1,901 Views)