11-15-2008 01:59 AM
We have a complicated "Event Structure" Labview program, there are buttons for "Start", "Test", ... . Each button has its "Value Changed" case in the Event Structure, there is a "Timeout" Case as well.
I would like to insert some code to automatic test those buttons rather than manually press button by mouse. I am thinking to use the "Timeout" case to generate "Value Changed" Event for each button, Is that possible?
Regards
Samuel
11-15-2008 02:45 AM
To trigger an event, you would write to a signaling value property of the control. One problem is the fact that your start, test, etc buttons are probably latch action, preventing the use of value properties. This means a little bit more code.
I don't like the thought of triggering events in the timeout case. Maybe an state machine would be a better choice. One state could be "continuous".
Would you mind attaching your program so we get a better idea what your questions is all about?