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: 

searching Routers /End Node in ListBox and save in Two ListBox

Solved!
Go to solution

Hi,

I am trying to Copy the Routers and End Nodes configured Node in Two diffent listbox..When I try to copy whole configuration from Node 3212 copy in Routers ListBox.Plz give some idea

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

Hi rita,

 

you need to apply some kind of sorting!

 

IF text="router"
   THEN add entry to first listbox
IF text="endnode"
   THEN add entry to second listbox

 Instead of "listbox" you surely work with string arrays…

Best regards,
GerdW


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

Hi sir, 

I made the logic but I am not able to remove the blank spaces in outout listbox.Kindly plz help.

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

Hi Rita,

 

Use shift registers to avoid blank spaces. If you use default tunnels in case structures it will add default values in the output array.

 

The attached VI might help you.

 

Regards,

Murali

CLA

*Kudos are Welcome*

0 Kudos
Message 4 of 5
(2,191 Views)

Thanks a lot.

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