Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timer or Thread

Status
Not open for further replies.

jl3574

Programmer
Jun 5, 2003
76
0
0
CA
I am reading an image from a folder location. This folder is connected to a camera which a software will constantly takes a picture and replaces the picture in the folder. I have to write an app that is in a continous loop and reads this image. The goal is to read this image 200 CPS (compute 200 times per second). I dunno if i should create a timer that runs every 1ms or create a Thread to run this image computation. Any ideas?
 
create a windows service that contains a filesystemwatcher and monitor the folder for changes (new image files and modified image files) when a change occurs do something with the changed file.

no loops, threads or timers required.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top