Hello all,
I have an application in which I need to send sequence of commands to unit and read it back response, for all the commands there is one name assigned.
Now I am using listbox to show all this and I am able to write all the test sequence names to listbox. What I want is when user selects particular row then It should also show what command it has sent in the background and what it got. I have attached image file for reference.
Thanks
Solved! Go to Solution.
To get the selected listbox string, use index array with the array of strings and the listbox wired to the index terminal. If the listbox is configured to allow more than one selection, use a FOR loop.
Have a look at this example (look at the OK button event)
May be my words were not correct sir. In the image when user selects 21st row then it will show for corresponding 21th what command it has sent and received(in the block diagram) which is in yellow box.
One more thing. Name which is displayed in the listbox and command sent and recceive is different.
Thanks
Then index into an array of corresponding commands. Same difference.
I can display in array but what I want is when user select the particular row then only it should display command and response of particular commands name
Is it possible?
I think i came up with a clever solution, check this out:
(damn IE cant insert pictures ...)
/Y
thanks Yemeda, but looks like your solution is incomplete. Can you upload your VI
I also gonna need active row property so that I can write to each row.