Skip to content

Package to detect when your data acquisition is interrupted.

Notifications You must be signed in to change notification settings

niyuanqi/watch_dog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

watch_dog

Package to detect when your data acquisition is interrupted.

watch_dog is run on local computer, it checks watch_pup's text for interruption signals over ssh. watch_pup is run on data acquisition computer, it checks that data is being acquired and updates a text. watch_dog_reset and watch_pup_reset are used to reset each code when data acquisition starts. siren.wav is just an arbitrary loud sound to warn you when data is interrupted, replace if you like.

To do this, copy over watch_pup and watch_pup_reset to data acquisition computer. watch_pup constantly checks to see if data is continually updated once it is run, outputs results in log. watch_pup_reset deletes old log and starts new log. watch_dog constantly checks watch_pup's log for updates, and logs its own results, runs siren when interrupt detected. watch_dog_reset and watch_pup_reset just deletes old log and starts new log.

About

Package to detect when your data acquisition is interrupted.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages