LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering an event with a digital input

Thanks Steve... this is very helpful!  I was able to get my code working using the value signal property.  Your example was using this property, correct?  So far I've been unable to generate working code using the generate user event.  What are the advantages of using a user event over a value signaling property?

0 Kudos
Message 11 of 14
(1,449 Views)

The first advantage is that with a user event you don't need a control. I guess that doesn't matter if you already have the control and want to programatically generate a value change event. It is nice and simple. See the comments in this thread. There was another discusson on Lava here.

=====================
LabVIEW 2012


0 Kudos
Message 12 of 14
(1,446 Views)

@Steve Chandler wrote:

The first advantage is that with a user event you don't need a control. I guess that doesn't matter if you already have the control and want to programatically generate a value change event. It is nice and simple. See the comments in this thread. There was another discusson on Lava here.


These threads were interesting, especially the one on Lava.  Of course, I really don't understand the things they are saying could happen if I were to use a value signal event.  But, it seems that most of the experts agree it's a last resort.  I'm attempting to implement the user events instead.  Of course, I'm still having trouble.  I usually pick things up pretty quickly, but for some reason Labview makes my brain feel very muddled.

0 Kudos
Message 13 of 14
(1,434 Views)

@KDillon wrote:

I do appreciate your help, apok, and I'm not trying to be argumentative... but I'm still looking for something simple.  Can't I just generate an event in an event structure if an input goes from low to high? 


no offense taken...as far as steve has pointed out, it is a matter of choice. "there are many different ways to skin a a cat". "NI Core 3" recommends dynamic events to be communicated back to the producer "event structure"...

0 Kudos
Message 14 of 14
(1,429 Views)