From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems extending dynamic user events

Hello,
 
we are using a german LabVIEW 8.2.
 
We have problems extending the samples from labview\examples\general\dynamicevents.llb
in an attempt to use the samples as a sort of template.
 
While adding an additional dynamic user event to "Programmatically Fire Events.vi" works
nicely, we have problems with "Dynamically Monitor VI's.vi" and its subVI "Wait for Events.vi".
 
The modification of "Programmatically Fire Events.vi" works successfully by generating new
user events und first adding an additional entry to "Register For Events". After this the previous
event name crops up twice while e.g. trying to modify the event structure. After adding the link
from the "Create User Event" to the new entry in "Register For Events, then this correctly shows
the two different events while trying to modify the event structure. So this works for a single file VI.
 
With the two files VI however this never worked up to now. The error message says that we
have a block diagram error, that the data types for the event registration refnums don't match.
 
When we open the subVI "Wait for Events.vi" just by itself, we can see that it still knows a lot
about the previous four event entries. So I assume a kind of a copy problem.
 
A workaroiund might be to re-unite the code, add the entries and create a new subVI, but we
havn't tested this yet.
 
The question is, is this behavoir known and are there any good work arounds?
 
Regards,
                   Martin
0 Kudos
Message 1 of 1
(1,894 Views)