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: 

string selection

Solved!
Go to solution

Is there any else way to make this string selection much more easy without using these many case structure any thing which can take all strings and gives one output of the string which got selected randomlyCapture2.PNG

0 Kudos
Message 1 of 5
(2,152 Views)

Hi anjaney,

 

what about an array of strings with a simple IndexArray function???

Best regards,
GerdW


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

Can you please explain with a diagram sir i am not able to understand

Regards

Anjaney

0 Kudos
Message 3 of 5
(2,118 Views)
Solution
Accepted by topic author Anjaney

Hi Anjaney,

 

as written before: place your strings into an array and use IndexArray to select one of them!

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(2,114 Views)

Thank you sir for help

with regards

Anjaney

 

 

 

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