10-09-2019 12:50 PM
Note: GraciaCC1.vi (the first two below) is the one I am trying to copy. The last two are mine. Also, I tried to use listbox, but it seems like the person I am trying to copy from did not use listbox. So how is he able to generate a table on the front panel if a listbox is not used? How is he able to connect to the "Index Array Function"? I tried I couldn't as you can see on my VI block diagram (broken connections).
Please I need your help.
Note:E:\ is where the drive named "Column Config.txt" is saved. Column Config contains a list of names that you see on the front panel.
Thank you in advance for your help.
Solved! Go to Solution.
10-09-2019 01:07 PM
Right click on the Read from Text File. There are some options in there. Check the "Read LInes" option.
The difference between yours and the picture is that on the icon, one has lines, the other doesn't.
10-09-2019 06:12 PM
Thank you very much, that broken wires problem is solved. But how come the person that I am trying to copy from did not use listbox. Another thing is if you click on the column configurations box in the event structure, you see that it is linked to the table on the front panel. How did he do that? I tried to do the same thing, but I couldn't figure it out.
10-09-2019 08:18 PM
@GRC5000 wrote:
Thank you very much, that broken wires problem is solved. But how come the person that I am trying to copy from did not use listbox. Another thing is if you click on the column configurations box in the event structure, you see that it is linked to the table on the front panel. How did he do that? I tried to do the same thing, but I couldn't figure it out.
Let me rephrase your question, then I'll give the answer to what I think your question is:
Question: "I have created a Listbox and have some values in the Listbox. Now I want to use the Value Change event in an Event Structure with the new value (the item I click on) to index the names and get the selected value"?
Answer:
10-09-2019 10:05 PM
@GRC5000 wrote:
Thank you very much, that broken wires problem is solved. But how come the person that I am trying to copy from did not use listbox. Another thing is if you click on the column configurations box in the event structure, you see that it is linked to the table on the front panel. How did he do that? I tried to do the same thing, but I couldn't figure it out.
What are you talking about? They did use the listbox, it is your broken VI that created another control called "Index". And what do you mean by "linked to the table"? There is no table. If you are talking about the listbox itself, then that is just the listbox and his event structure doing exactly what they were designed to do and the person intended in the VI.
If you are puzzled by listboxes, then I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
Learn LabVIEW
10-10-2019 10:10 AM
Thank you for helping me solve my problem.
10-10-2019 10:11 AM
Thanks a lot for your help.