LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering event structures

I have a series of string and numeric variables, which I enable and disable via a property node in an event structure using a simple boolean (labelled 'enable').

I am writing code that remembers what state 'enable' was in (saving a simple text file). I want to be able to press another boolean, a load button say, to get this file and use it to change the state of 'enable'. Basically loading previous settings. Changing the state of 'enable' programmatically does not trigger the event structure; only a manual click of the mouse does.

Is there any way to force an event structure to trigger from a programmatical change AND a mouse click in 'enable'? If so, how?

If not, any suggestions?

I've written a simple test program that illustrates what I mean, if that helps.

Paul
0 Kudos
Message 1 of 3
(2,461 Views)

Hi Paul,

use the value(signaling) property of your "enable" button. If you use it and write a value in it, the event will be triggered.

Mike



Message Edited by MikeS81 on 07-23-2008 12:45 PM
Message 2 of 3
(2,455 Views)
Thanks Mike!

absolutely fantastic! I am slowly fighting my way to Labview 8.2 from 6. Its painful at times!

Paul


Message Edited by manc_pablo on 07-23-2008 06:50 AM
0 Kudos
Message 3 of 3
(2,444 Views)