LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

on off time

I need genarate True and false every 30 mins for 100 cycle. Is there is any example available for this purpose?
Can you help with this sample code?
I am using labview 7.1.
 
Thanks for your help
0 Kudos
Message 1 of 10
(4,188 Views)
what is it ur trying to do with the data after u get it.
all u need to do to is have a for loop (for 100 cycles) and in it have a wait for 30 minutes then either put out a true or a false.
0 Kudos
Message 2 of 10
(4,179 Views)

Every 30 mins need to save the data. If there is true it will save the data. This is going to be a input of save data.vi

 

Thanks

Jey

0 Kudos
Message 3 of 10
(4,176 Views)
Just use the Elapsed Time function on the Time & Dialog palette. Set it for whatever time you want and when that time has elapsed, the output "Time Has Elapsed" will go true.
0 Kudos
Message 4 of 10
(4,172 Views)
I try with for loop, it not seems work for me. May be I am going in different direction. Please guide me.
 
Thanks
Jey
0 Kudos
Message 5 of 10
(4,167 Views)

I tried with elapse function, and it always true. It never be a false.

 

Thanks for your time.

0 Kudos
Message 6 of 10
(4,166 Views)
Is that possible to give me the code for this.
 
I am appreciate for your help.
 
Jey
0 Kudos
Message 7 of 10
(4,165 Views)

I am waiting for your response.

 

Thanks

 

0 Kudos
Message 8 of 10
(4,147 Views)

I don't know what you could be doing wrong. Putting the function in a while loop is all that it takes.

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

Message 9 of 10
(4,139 Views)
Thank you for the support.
 
I appreciate the help.
 
Jey
0 Kudos
Message 10 of 10
(4,128 Views)