|  | 
|  | 
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
| 
				
				running an executable for a specific time period
			 
			
			Hi there, I've got an executable of my program that performs a number of different operations and eventually outputs data to a file. How would I go about inserting code into the program so that the file runs for 30 secs and then stops automatically. I can do it so that the data collection only lasts for 30 secs but would like something a little more elegant and automated Thanks! | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			The following code will execute the viz.quit command after 30 seconds: Code: import vizact vizact.ontimer(30,viz.quit) | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			Thank you - you're a star!
		 | 
|  | 
| Thread Tools | |
| Display Modes | Rate This Thread | 
| 
 | 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| timer question | Elittdogg | Vizard | 5 | 10-10-2007 02:49 PM |