IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 11, 2007, 5:11:59 PM (19 years ago)
Author:
eugene
Message:

assert a value for pantaskState when loading into the book

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/camera.pro

    r14116 r14153  
    6969      option DEFAULT
    7070      command camtool -pendingexp -limit 20
     71      # echo command camtool -pendingexp -limit 20
    7172    else
    7273      # save the DB name for the exit tasks
    7374      option $DB:$camera_DB
    7475      command camtool -pendingexp -limit 20 -dbname $DB:$camera_DB
     76      # echo command camtool -pendingexp -limit 20 -dbname $DB:$camera_DB
    7577      $camera_DB ++
    7678      if ($camera_DB >= $DB:n) set camera_DB = 0
     
    8183  task.exit    0
    8284    # convert 'stdout' to book format
    83     ipptool2book stdout camPendingExp -key cam_id -uniq -setword dbname $options:0
     85    ipptool2book stdout camPendingExp -key cam_id -uniq -setword dbname $options:0 -setword pantaskState INIT
    8486    if ($VERBOSE > 2)
    8587      book listbook camPendingExp
     
    112114    if ($network == 0) break
    113115   
    114     # look for new images in camPendingExp (pantaskState == NULL)
    115     book getpage camPendingExp 0 -var pageName -key pantaskState NULL
     116    # look for new images in camPendingExp (pantaskState == INIT)
     117    book getpage camPendingExp 0 -var pageName -key pantaskState INIT
    116118    if ($pageName == NULL) break
    117119
Note: See TracChangeset for help on using the changeset viewer.