04-14-2010 01:56 PM
Labview 9 x86
Windows 7 x64
I have an event structure that has been working just fine. It has 5 cases, each triggered by a value change in various indicators.
I added another event case, I am trying to trigger the event case with the express control "Elapsed time" I have made a case to trigger when the "Time has Elapsed" boolean value changes. The event structure is not executing when the value changes.
Additionally, once figured out how to make this indicator trigger the event structure, I would like to make it trigger only when the value goes from 0 to 1, and not 1 to 0
Solved! Go to Solution.
04-14-2010 02:02 PM - edited 04-14-2010 02:03 PM
Search the forums for "value change event" and "value signalling".
The event for Value change (I assume you have that on your event structure, you header bar seems to be missing some information.) is triggered only when the user enters new information into a control, or you programmatically write a new value using the Value (signalling) property node. Just programmatically writing to a local variable, the termina, or the "value" property node doesn't do it.
For trigger in only one direction, you can put the code in the event case inside a case structure so that it only executes when it it True (or False, if that is what you need.)
04-14-2010 02:03 PM
04-14-2010 02:41 PM
eximo wrote:It has 5 cases, each triggered by a value change in various indicators.
04-14-2010 03:38 PM
I must be losing it. I've used Value(signaling) many times in the past. Now I have LV2009. I don't see this selection. Where is it?
04-14-2010 03:41 PM
04-14-2010 03:41 PM - edited 04-14-2010 03:42 PM
tbob wrote:I must be losing it. I've used Value(signaling) many times in the past. Now I have LV2009. I don't see this selection. Where is it?
Value (signalling) is the property node you write to in order to fire the Value change event that you created in the dialog box you show.
04-14-2010 04:05 PM
04-14-2010 04:16 PM - edited 04-14-2010 04:22 PM
I haven't ran your code, but try putting the Artifact Bump terminal inside the event case which looks for its change.
04-14-2010 04:35 PM
eximo wrote:
This is an example of the code, it still doesn't work