LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create event driven timer

Since the while loop spins anyway, you should replace the event structure with a simple case structure. That's all you need.
Message 51 of 56
(1,964 Views)
Thanks for replying I tried that too but is almost the same result. I tried a Case structure. When i ran it. The preogram starts to ask me file path again and again after every loop, so i gave it a default file path and gave it instruction to delete file data every time the loop runs but really what i want is that the data continues to be written where it stopped in the first loop. I want a way to collect data without overwriting actually, in the same file. Please help!!!
0 Kudos
Message 52 of 56
(1,962 Views)
You need to make sure that there is a valid file path in the "file path" control. Is there?
 
If you want to append to an existing file, keep the file path in a shift register and set append=true of the write VI.
 


Message Edited by altenbach on 06-12-2008 10:15 AM
0 Kudos
Message 53 of 56
(1,949 Views)

Hello troy, 

 

Please could you help me find a way to use the posted VI to  start the timer when a condition is met (as for example when the voltage of a signal crosses a certain value). 

Actually I tried wiring a control button in the some way to start the timer but it didn't work. kindly let me know how I can deal with this issue. ( I am not sure how to use the event structure). Please find attached the modified (not working) VI. 

 

Thanks a lot! 

 

 

Bill 

0 Kudos
Message 54 of 56
(1,595 Views)

Bill El Sayed wrote:

Hello troy, 

Please could you help me find a way to use the posted VI to  start the timer when a condition is met


 

 

 

There are many VIs posted above, please clarify which one you mean. Troy did not post any VIs.

 

This is an old thread, so I would suggest to start a new one.

 


Bill El Sayed wrote:

 Please find attached the modified (not working) VI. 


 

 

 

THere is no attachment. Attach your VI so can see what's wrong. 

0 Kudos
Message 55 of 56
(1,577 Views)

altenbach wrote: 

 

 

There are many VIs posted above, please clarify which one you mean. Troy did not post any VIs.

 

This is an old thread, so I would suggest to start a new one.

 

THere is no attachment. Attach your VI so can see what's wrong. 


I second everything altenbach said.
Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 56 of 56
(1,553 Views)