11-21-2012 07:16 AM - edited 11-21-2012 07:17 AM
hello again,
this time i have an easy question to you all:
i have to create a double-click event using a listbox, i want click on a specif row and read this row data in another window, that has to remain visible until i don't press a button Close.
i show you in attachment what i've done (it doesn't work)
any ideas?
PS: using lab7,1
11-21-2012 08:16 AM - edited 11-21-2012 08:16 AM
Are you trying to see the contents of the entire row?
You do realize that the "row" terminal inside the event structure is an index to the row you selected... Not it's content.
So you need to use this value to index the ItemNames from the listbox, which is obtained from the property node.
That will give you a 2D array. Index the 2D array using the row vlaue that you double clicked and you get the row.
You will get a 1D array not a string, so your sub-vi will need to be modified.
See image below:
11-21-2012 08:17 AM
My guess is your application is getting stuck in the subVI as it will execute until the Boolean becomes true. As that does not appear to happen your VI gets 'stuck'.
11-21-2012 08:39 AM
Thanks David,
That too... You will need to set the Winodw Appearance properties (found under File menu > VI Properties.
Browse and select Window Appearance. Select Custom and click on Customize.
Select "Show Front panel when called" and "Close afterwards if originally closed".