> I created a simple vi to switch a boolean LED on or off. The vi has
> just a boolean control and indicator. On running the VI the CPU
> utilization in task manager shows 100 %. How can this happen???
This has already been answered, but just to be clear, your loop wasn't
told to run at a particular rate, so it runs as fast as possible. If
you were to watch the i on your loop you'd probably get millions of
Boolean checks per second. I think that putting a delay in the loop is
fine for simple applications, but if you are interested, you might want
to look at some of the event examples too. This lets you write in a
little more complicated way that executes the loop only when absolutely
necessary. It isn't important here, but if you had an instr
ument that
took 0.5 seconds, this might be more appropriate.
Greg McKaskle