ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(2,717 Views)
Solution
Accepted by labview99

index array

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

Thank you so much Tim!!

Best regards

0 Kudos
Message 3 of 5
(2,703 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
(2,686 Views)

Thank you so much!!

Best regards

0 Kudos
Message 5 of 5
(2,664 Views)