LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Visit the LabVIEW Wiki Application Design & Architecture Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Not Capturing User Events
regisphilbin
post Sep 4 2003, 09:17 PM
Post #1


Very Active
***

Member
Posts: 81
Joined: 27-June 03
From: San Diego, CA
Member No.: 127
LV:7.1.1
United States Nothing Selected Nothing Selected


Hi,

I'm wondering if using a "Wait" Function within an event prevents the event structure from "seeing" incoming events? I seem to have this issue and am wondering what type of work arounds can be used....

BTW, my application requires the use of various timeouts. I'm running a
sequence of time-based fieldpoint tasks.


Instructions:

Open both VI's. Run "Caller_simplified.vi".
Click on "Start" - This will start a sequence in the "called_Simplified.vi".

Occasionally, switching the "Start" to its False state will stop the Sequence, other times not....


****
On the side, please feel free to comment / criticize on the structure of the VI. If there is something that I'm doing obviously incorrectly, please let me know...

Thanks,

Regis
Attached File(s)
Attached File  caller_simplified_and_called_simplified.zip ( 118.21K ) Number of downloads: 199
 

--------------------
Certified LV Associate Developer


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Sep 4 2003, 09:17 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Michael_Aivaliot...
post Sep 4 2003, 09:48 PM
Post #2


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

Admin
Posts: 2363
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


I think I found your problem. You should never split the event registration refnum. If you delete the connection circled in the image below you will see that everything works fine. You are not using any of the dynamic events in that event structure anyway so why do you have it wired?

I think this was mentioned at NIweek this year in the presentation on event structures. Even though the top event structure does not have any event cases to handle the events, it still looks at the events and if it catches it first will discard the event.
Attached image(s)
Attached Image
 

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
regisphilbin
post Sep 4 2003, 09:52 PM
Post #3


Very Active
***

Member
Posts: 81
Joined: 27-June 03
From: San Diego, CA
Member No.: 127
LV:7.1.1
United States Nothing Selected Nothing Selected


Thanks Michael,

That seems to have fixed the problem....I guess I've just gotten so used to wiring to the dynamic events structure that I forgot that it wasn't being used....

Now, if i did want to use dynamically registered events within this top VI, then I'd have to have 2 register for events twice?

Regis


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jim Kring
post Sep 4 2003, 10:50 PM
Post #4


Changing the world, one VI at a time.
*****

JKI
Posts: 1692
Joined: 22-October 02
From: San Francisco, CA
Member No.: 17
Using LabVIEW Since:1995
LV:8.2.1 ,8.5 ,7.1.1
United States us_california Nothing Selected My Blog My Gallery


QUOTE
Now,  if i did want to use dynamically registered events within this top VI,  then I'd have to have 2 register for events twice?


Yes.

-Jim

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 22nd November 2008 - 02:26 AM