01-30-2019 04:59 AM
Hi everybody,
I work with an event structure and as you can see in the picture I have one event case that ist controlled with multiple events: how can I control the case structure in relation with the event that is being processed at that moment?
Another explanation: when the event source is "1:" the case structure should move into "1:" case, and if the event source is "2:" then it should move to the case "2:"
Thanks in Advance
01-30-2019 05:20 AM - edited 01-30-2019 05:21 AM
Can you not wire 'NewVal' into the case select terminal?
Also, if you want different things to happen for different events, I would recommend using separate event cases.
01-30-2019 05:24 AM
01-30-2019 05:49 AM
Thanks for your answer.
I cant find that property node, can you please advice me which one to use?
01-30-2019 05:58 AM
01-30-2019 06:02 AM
@vladosaurus wrote:
Thanks for your answer.
I cant find that property node, can you please advice me which one to use?
Its Label.Text. Like this:
01-30-2019 06:04 AM
01-30-2019 11:41 AM
Right click the Source terminal and create a constant. This terminal will only output a constant that indicates where the event originated from and does not indicate which control was clicked. Options are:
01-30-2019 11:46 AM
@aputman wrote:
Right click the Source terminal and create a constant. ...Options are:
- LabVIEW UI
- ActiveX
- User Event
- Other...
I was looking at that the other day and found it odd that "Other..." while listed was not selection that would stick.
Ben
01-30-2019 11:51 AM
Sure enough. Turn off Allow Undefined Items on the constant and it goes away. I'm not even sure what other sources are possible.