Changeset 25785 for trunk/ippTasks/flatcorr.pro
- Timestamp:
- Oct 6, 2009, 9:23:27 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/flatcorr.pro (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/flatcorr.pro
r24139 r25785 17 17 18 18 macro flatcorr.on 19 task flatcorr.ad dcamera19 task flatcorr.advancecamera 20 20 active true 21 21 end … … 29 29 30 30 macro flatcorr.off 31 task flatcorr.ad dcamera31 task flatcorr.advancecamera 32 32 active false 33 33 end … … 41 41 42 42 # these variables will cycle through the known ippdb database names 43 $flatcorr_ad dcamera_DB = 043 $flatcorr_advancecamera_DB = 0 44 44 $flatcorr_pendingprocess_DB = 0 45 45 … … 55 55 # as the chip analysis progresses, we need to occasionally migrate the 56 56 # completed chips to the camera stage by calling: 57 # flatcorr -ad dcamera57 # flatcorr -advancecamera 58 58 59 59 # we wait for the completed chip and camera analysis and search for … … 68 68 69 69 # migrate complete flatcorr chips to the camera stage analysis 70 task flatcorr.ad dcamera70 task flatcorr.advancecamera 71 71 host local 72 72 … … 80 80 # define the command (does not depend on previous queries) 81 81 if ($DB:n == 0) 82 command flatcorr -ad dcamera82 command flatcorr -advancecamera 83 83 else 84 84 # save the DB name for the exit tasks 85 85 # note that this DB name refers to the ippdb, not the dvodb 86 option $DB:$flatcorr_ad dcamera_DB87 command flatcorr -ad dcamera -dbname $DB:$flatcorr_addcamera_DB88 $flatcorr_ad dcamera_DB ++89 if ($flatcorr_ad dcamera_DB >= $DB:n) set flatcorr_addcamera_DB = 086 option $DB:$flatcorr_advancecamera_DB 87 command flatcorr -advancecamera -dbname $DB:$flatcorr_advancecamera_DB 88 $flatcorr_advancecamera_DB ++ 89 if ($flatcorr_advancecamera_DB >= $DB:n) set flatcorr_advancecamera_DB = 0 90 90 end 91 91 end … … 123 123 periods -exec $LOADEXEC 124 124 periods -timeout 60 125 active false 125 126 npending 1 126 127 … … 179 180 periods -exec $LOADEXEC 180 181 periods -timeout 60 182 active false 181 183 182 184 # silently drop stdout
Note:
See TracChangeset
for help on using the changeset viewer.
