LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

untriggerred event(e-fgv)

Solved!
Go to solution

Hi Guys,

 

I have questions on event triggering of efgv(event functional global variable, I am not sure though this is the standard name that people use...haha) . We found out that efgv is quite handy. However the more we use it, we realized that some of the events are not triggered.

 

I created a VI(Test EFGV.vi) for you guys to run it. basically there is 1 loop that will trigger the event 50 times, and supposely all event cases on different loops should be triggered 50 times as well. However when you run the VI, the iteration of each triggered loop will be different. The VI has 1 trigger loop and 4 to-be-triggered loops, the same with what we normally do on our application: 1 will trigger many.

 

However there are also efgv that 1 designed to be 1 to 1 trigger. And I realized that the issue  still occur but far less frequent. For example the previous project we have intermittent issue on this, where in a month, the efgv was not triggered only once.

 

Anybody know why this is happening? What did I do wrong with the program? Hope you guys can help me on this....

 

Thanks....

 

Download All
0 Kudos
Message 1 of 5
(2,515 Views)

you did not include the typedef.

0 Kudos
Message 2 of 5
(2,501 Views)

Sorry about that...here you are....Smiley Happy

Download All
0 Kudos
Message 3 of 5
(2,492 Views)
Solution
Accepted by topic author whop

You can't use the same event registration refnum among multiple event structures.  Each needs its own reference wire.

Message 4 of 5
(2,395 Views)

Thanks RavensFan. It works now...Smiley Very Happy

0 Kudos
Message 5 of 5
(2,361 Views)