LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

EASY QUESTION

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

Using LabVIEW 7.1
0 Kudos
Message 1 of 4
(2,482 Views)

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:

 

0 Kudos
Message 2 of 4
(2,440 Views)

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'.

David C
0 Kudos
Message 3 of 4
(2,438 Views)

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".

 

0 Kudos
Message 4 of 4
(2,430 Views)