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: 

listbox indexing

My apology. Use config file processor for it. it's the same.

0 Kudos
Message 11 of 14
(817 Views)

Are you really needing to allow for 1000 channels?

 

Why do you have all of that information in teh config file if the only thing you are pulling out are the channel names?  If that is all you need, then just generate the names dynamically when you select the sensor(s)

 

And why are you adding a dimension to the array containing the channel names?

 

I am trying to grasp what your objective is but your code is a bit convoluted and you are not making it very clear what you are trying to do.  For instance, you are applying Item Names to the list box contents after you use the values in the Listbox to index the arrays.  Not making sense.

 

Go through a simple example. When you select ONLY sensor 1, wht do you expect to get at the end.  If you select sensor 1 AND 2, what do you expect to get.  Put it in a flow chart format that will put it in a linear flow of data.

Doug

"My only wish is that I am capable of learning each and every day until my last breath."
0 Kudos
Message 12 of 14
(799 Views)

There were some bad troubleshooting in the code. I updated it. see attached

 

Admin Note - VIs removed per user's request.

0 Kudos
Message 13 of 14
(771 Views)

I fixed it, thank you all for your guidance and help

0 Kudos
Message 14 of 14
(762 Views)