LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

event structure not responding

Hi,

I am using an event structure to monitor the value change for a string dropdown control. about one in every 3 times, the event structure does not seem to be responding to the value change. the expected action does not happen. Any ideas?

Thanks.

0 Kudos
Message 1 of 7
(3,099 Views)

is it a combo box control you are using? can you show the event configuration of your structure because this sounds really surprising.


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 7
(3,098 Views)

Yes, please post your example showing the situation.

Which version of LV are you using?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 7
(3,085 Views)

If you select the same value as it were, there's no value change event.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 7
(3,074 Views)

Hi Everybody,

 

Thanks for the quick responses. Here are my replies:

 

1. I am using a string combo box control.

 

2. Unfortunately I am not permitted to share code online :(.

 

3. I am using LV 2009.

 

4. I will try my best to describe the functionality of the code here.

a. Populate the string combo box with a list of options at runtime.

b. Wait for user to select one option. Use event structure to capture this value change.

c. Once the user makes the selection, populate a string indicator with some data based on the value selected by the user.

 

5. This is where the error is happening. Once in every 3-4 times, the string does not get populated. I monitored the active states in the state machine and found that the paticular state which was supposed to execute on value change is not executing at all.

 

6. It is a 2 loop state machine. One loop with the event structure to capture user events and one loop for the state machine.

 

7. Event structure has the "Lock front panel till event completes" option UNchecked.

 

I know it is difficult for you guys to make suggestions without the code. I will try my best to upload the code or at least the relevant portion online. In the meantime, these are the details that I can share.

 

Thanks Guys...

 

 

 

 

0 Kudos
Message 5 of 7
(3,050 Views)

I am thinking of the most basic thing... If you use a property-Node to write your string, turn on signaling or your event structure will not respond.

 

Good luck trying to post your code! Smiley Happy

0 Kudos
Message 6 of 7
(3,036 Views)

As i mentioned, double check that you get the Value Change event. If you populate a ring control and select the already selected value there's no value change event (it should really be an option for that).

One easy workaround is adding a "No option" as 1st row and autoselect that one, thus the user must select something and generate a value change.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 7 of 7
(3,024 Views)