LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Event Timing on/off (lights, pumps, ect)

I can take a look at it, but the computer I am at for the rest of the week only has 6.i on it. Therefore, you will have to save it down for version 6.0. Then I can take a look at it.

-Evan
0 Kudos
Message 11 of 13
(534 Views)
thanks here it is

Mitchel Kuijper
0 Kudos
Message 12 of 13
(534 Views)
Mitchel,

attached is the library for the new vi..

I had to remove the while loop inside of the subVI and put it in the caller VI.

The problem you are seeing is that when a program runs a subVI, it passes data in, the subVI runs it's routine, then when it completes, it outputs the final values.

You can do this the way i have in my example, or you could use global variables. I'm sure there are other ways to do it as well.

This isn't a normal subVI, and has to be treated a little differently.
0 Kudos
Message 13 of 13
(534 Views)