Changeset 27840 for branches/simtest_nebulous_branches/ippTasks/camera.pro
- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTasks/camera.pro (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/ippTasks/camera.pro
r24596 r27840 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 … … 23 39 active true 24 40 end 41 task camera.revert 42 active true 43 end 25 44 end 26 45 … … 30 49 end 31 50 task camera.exp.run 51 active false 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 65 task camera.revert 32 66 active false 33 67 end … … 64 98 if ($camera_DB >= $DB:n) set camera_DB = 0 65 99 end 66 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 67 104 add_poll_labels run 68 105 command $run … … 106 143 if ($N == 0) break 107 144 if ($NETWORK == 0) break 145 if ($BURNTOOLING == 1) break 108 146 109 147 # look for new images in camPendingExp (pantaskState == INIT) … … 182 220 host local 183 221 184 periods -poll 5.0185 periods -exec 60.0222 periods -poll 60.0 223 periods -exec 1800.0 186 224 periods -timeout 120.0 187 225 npending 1
Note:
See TracChangeset
for help on using the changeset viewer.
