04-17-2006 05:28 PM
The program is for select three iterms from a listbox.
I have 5 buttons:
“Next”: select next item from listbox;
“Previous”: select previous item;
Those two buttons work good.
 
“Select”: I click any item in listbox, and then click this “select”, then “next”, all 3 selections will start from this selected one. It works good as well.
“select1”, intend to select anyone item from listbox
“select3” intends to select anyone item from listbox (different from select, and select 1).
Problem is from those select1 and select3. once I click select1, select3 changes its item to be the same as select. It is same for selct3, once clicked, select1 changes its item to be the same as select.
I use event structure to do this. I think I did not do it right for those events, but I can not find it. I remove a lot staff from my VI, try to show simple Vi for my problem. Please take a look, see if you can help. I spend too much time on this.
04-19-2006 04:12 AM
Hi,
I am having trouble understanding the purpose of Select 1 and Select3. Can you plaese elaborate on their purpose and erroneous behavior so I can better understand the issue and help you out?
Regards,
Ankita
04-19-2006 07:49 AM
04-20-2006 02:05 PM
04-20-2006 02:16 PM
04-20-2006 03:09 PM
Here I make a new VI. When you click "NEXT", String select 1, select 2, and select 3 will display three adjecent items from listbox. For instance, 1,2,3; 2,3,4; 4,5,6.... which is what I want.
I want add more functions in this vi. When I select any item, this item can be displayed in select 1 string, but keep "select 2 and select 3" item unchange (keep as they were). Same for "select 3". I can select any item in listbox and diplay it in "select 3", but "select 2 and slect 1" should not change.
In my previouse VI, I use event structure to accomplish it. I had problems, which may be also confue you to understand my VI. Now I delete what I made, and see if you can add those functions for select 1 and select 3.
Thank you in advance
04-20-2006 03:36 PM
04-20-2006 04:33 PM
04-20-2006 04:35 PM
Thank you a lot. It looks great and works like I want.
I will try to combine it to my main Vi. THank you again. 5 *****