LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read a Listbox dinamically

Hi all,

 

I want to read another vi listbox itemnames that represents a network connection information and show in a listbox. But I want a dynamic method as I mentioned.

I tried with event structures but it doesn't work!

Does any one have any knowledge of what the problem might be?

 

Thanx in advance

 

…Here is the code,

0 Kudos
Message 1 of 5
(2,804 Views)

Hi Maryam,

     I modified your VI to wait for a value-change [Dynamic] event coming from the listbox of the _Sub-VI_.  I suspect your update logic needs some refining, but that's another subject.

Cheers

When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 2 of 5
(2,790 Views)
Thanks Dynamike. But this code dosen't work. You see, In general, LabVIEW generates user interface events only as a result of direct user Interaction with the active front panel. LabVIEW does not generate events, such as Value Change, when you use the VI Server, global variables, local variables, DataSocket, and so on. For generating a Value Change event programmatically, I think should use the Value (Signaling) property. I'm now developing it.
 
0 Kudos
Message 3 of 5
(2,760 Views)


@Maryam wrote:
... this code dosen't work. You see...
 




Hi Maryam,

Sorry it didn't work for you - funny, it worked before I sent it!

Good luck!

When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 4 of 5
(2,749 Views)

Hi

You could create events on your own. For these you can programmatically raise an event.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 5 of 5
(2,744 Views)