LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean

How can I create boolean output toggle everey 30 mins, for 100 loop.
 
True is on for 30 mins
False is on for 30 mins
True is on for 30 mins
False is on for 30 mins
True is on for 30 mins
False is on for 30 mins
.
.
..
.
.
 
Jey
0 Kudos
Message 1 of 16
(3,854 Views)
Toggling is easiest done with a shift register and an "invert". Here's a code skeleton to get you started.
 
 

Message Edited by altenbach on 12-15-2006 09:08 AM

0 Kudos
Message 2 of 16
(3,847 Views)

If that's what you want, then just add a shift register to my answer in your other post.

You should really keep follow up questions in your original thread. You should also probably look into the resources available for learning LabVIEW basics at http://zone.ni.com/devzone/cda/tut/p/id/5199

Message Edited by Dennis Knutson on 12-15-2006 10:10 AM

0 Kudos
Message 3 of 16
(3,848 Views)

I appericiate for you time guys.

 

Thanks again

0 Kudos
Message 4 of 16
(3,821 Views)
My application purpose, need exit from loop. Both cases, still running the loop, not going to savedata.vi.
 
How can I fix this ?
 
Jey
0 Kudos
Message 5 of 16
(3,810 Views)
What do you mean? You can't exit a for loop early but the while loop has a stop button. It will exit whenever it's clicked.
0 Kudos
Message 6 of 16
(3,803 Views)
Please see the attached program, The output always is false.
0 Kudos
Message 7 of 16
(3,798 Views)

Hi,

You have missed the subVI......Smiley Very Happy

 

Regards

CLAD
Using Labview 5.1,6.1,7.1.8.0
0 Kudos
Message 8 of 16
(3,796 Views)

What sub vi? It works fine within function itself. If you call this function, the output always false.

 

Thanks

0 Kudos
Message 9 of 16
(3,793 Views)

The "savedatawithdelay.vi"...

 

 

CLAD
Using Labview 5.1,6.1,7.1.8.0
0 Kudos
Message 10 of 16
(3,789 Views)