> I have read that LV has not support for generating the events (like
> button click) by program. It means that if I wire random signal
> generator to numeric and make an event on change the numeric value it
> will not work.
Actually, it depends on the version. LV6.1 adds support for user
interface events. If using it, you drop an event structure on the
diagram and configure it for the events you are interested in. You then
place the code to execute in response to an event inside the diagrams of
the structure -- much like a case structure.
If you are using an earlier version of LV, the typical technique used is
to have a timed loop. Often it will execute something like ten times
per second, and each iteration it compares the current to the previous
value stored in a shift register. If it detects a difference, then it
executes some code in a structure. As these become more complex they
often turn into state machines that help to condense the logic of the
UI. With still more complex UIs, people will often use what they call a
queued state machine, which prefer to call an message handler or an
event handling loop.
Anyway, it is probably useful to both experiment with a simpler shift
register based comparison loop looking for one event, and also to look
at the design patterns posted mentioned above on zone.ni.com or
ni.com/labviewzone, or ltrpub.com or pretty much any labview oriented
web site.
Greg McKaskle