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: 

Save string of data in array and control from array

Solved!
Go to solution

Hi,

I have a questions about arrays.

 

As shown in "Save array.PNG",

1) I need to save the item name and value inside 1st row when "Save ASCII" button is pressed.

2) Save the item name and value inside 2nd row when "Save Hexadecimal" button is pressed. (hex input will be converted to ASCII format before saving in array).

Will keep continue to save into the array when new input is entered.

 

Then i need to make this array to become control so that i can choose it like in combo box as shown in "Combo box.PNG".

 

The VI is attached below.

 

Anyone can please help me to solve this? Thanks.

Download All
0 Kudos
Message 1 of 5
(3,099 Views)
Solution
Accepted by topic author oliver1023

Use listbox:

 

listbox.pnglistbox2.png

Message 2 of 5
(3,089 Views)

I done the block diagram but when i press save, it saved 2 times

0 Kudos
Message 3 of 5
(3,079 Views)

Use insert photos instead attach.

img.PNG

 

And without your code I can't say where is mistake

Message 4 of 5
(3,073 Views)

All done and i've debugged the problem.

Thanks

0 Kudos
Message 5 of 5
(3,042 Views)