Changeset 27838 for branches/tap_branches/ippTasks/camera.pro
- Timestamp:
- May 3, 2010, 8:41:49 AM (16 years ago)
- Location:
- branches/tap_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTasks/camera.pro (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/tap_branches
- Property svn:mergeinfo changed
-
branches/tap_branches/ippTasks/camera.pro
r25693 r27838 6 6 check.globals 7 7 8 # camera.pro should have a more restricted polling limit (to avoid stress with getstar) 9 if ($?POLL_LIMIT_CAMERA == 0) set POLL_LIMIT_CAMERA = 10 10 11 macro set.camera.poll 12 if ($0 != 2) 13 echo "USAGE:set.camera.poll (value)" 14 break 15 end 16 17 $POLL_LIMIT_CAMERA = $1 18 end 19 20 macro get.camera.poll 21 echo "camera poll limit: $POLL_LIMIT_CAMERA" 22 end 23 8 24 book init camPendingExp 9 25 … … 35 51 active false 36 52 end 53 task camera.revert 54 active false 55 end 56 end 57 58 macro camera.revert.on 59 task camera.revert 60 active true 61 end 62 end 63 64 macro camera.revert.off 37 65 task camera.revert 38 66 active false … … 70 98 if ($camera_DB >= $DB:n) set camera_DB = 0 71 99 end 72 add_poll_args run 100 $run = $run -limit $POLL_LIMIT_CAMERA 101 # NOTE: we do not want to overload the dvo db machine with getstar queries, 102 # so we will limit the camera stage to a smaller number than the other stages 103 # add_poll_args run 73 104 add_poll_labels run 74 105 command $run … … 112 143 if ($N == 0) break 113 144 if ($NETWORK == 0) break 145 if ($BURNTOOLING == 1) break 114 146 115 147 # look for new images in camPendingExp (pantaskState == INIT) … … 188 220 host local 189 221 190 periods -poll 5.0191 periods -exec 60.0222 periods -poll 60.0 223 periods -exec 1800.0 192 224 periods -timeout 120.0 193 225 npending 1
Note:
See TracChangeset
for help on using the changeset viewer.
