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: 

I'd like the csv file to contain as many boxes as controls selected

Solved!
Go to solution

Hello guys,
I'm coming back to you because I have a problem with the way my data is saved.
I save the names of the controls selected by the user after pressing save.
The problem is that when the user doesn't select all the controls, in the save file there are empty boxes.
I'd like the csv file to contain as many boxes as controls selected.
How can I do this, please?
Thanks in advance
Sincerely

0 Kudos
Message 1 of 3
(492 Views)
Solution
Accepted by topic author Ngouda

As I understand it you want to add a string to the string array only if the boolean value is true.

You can right click the outgoing indexing tunnel of your string array and choose "Tunnel mode > Conditional". Now connect you incoming boolean value to the new conditional terminal.

 

See https://www.ni.com/docs/en-US/bundle/labview/page/lvhowto/condacc_valuesnloops.html

Message 2 of 3
(469 Views)

Hi UliB,

Thank you for you reply that works as I want 🙂

0 Kudos
Message 3 of 3
(459 Views)