LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

name of user event

Solved!
Go to solution

In creating user event, the name seems to be fixed by giving the label of data.

But I got to know the name is not the same with the label.

The label of data is just 'data' but the name is 'sys.Stop Application' in event structure.

I can guess a effect of file structure in the source code.

 

Can you let me know where to find the naming in effect or possible cases?

 

labmaster.

0 Kudos
Message 1 of 3
(2,736 Views)
Solution
Accepted by topic author labmaster

It depends on the name of the label you set to the data connected in the "user event data type" input of the Create User Event function and in your case, on the label of the refnum indicator in your action engine (Stop Application). If you make changes to the event name, you might have to re-create this indicator to see the correct names in the event structure. If you don't connect this directly to the Register For Events function but as part of a cluster, then the name of the cluster also appears in the Event Structure.

I think issue is related to this post.

Lucian
CLA
0 Kudos
Message 2 of 3
(2,689 Views)
Solution
Accepted by topic author labmaster

You can wrap the data in a cluster to distinguish the event name from the data name.

en.png

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 3 of 3
(2,637 Views)