Visit the LabVIEW Wiki Application Design & Architecture Portal
Tags |
(This content has not been tagged yet)
|
![]() |
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
|
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)
-------------------- Certified LV Associate Developer
|
||
|
|
|||
| Ad |
Sep 4 2003, 09:17 PM
Post
#
|
||
|
|
|
||
|
|
|||
Sep 4 2003, 09:48 PM
Post
#2
|
|||
![]() Confucius say: Crowded elevator always smell different to midget 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
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)
--------------------
|
||
|
|
|||
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
|
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
|
||
|
|
|||
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
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 --------------------
|
||
|
|
|||
![]() ![]() |
| Time is now: 22nd November 2008 - 02:26 AM |