IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12022


Ignore:
Timestamp:
Feb 23, 2007, 3:33:32 PM (19 years ago)
Author:
Paul Price
Message:

Fixing bug in naming.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/ipp_serial_camera.pl

    r12020 r12022  
    3434my $missing_tools;
    3535my $camtool = can_run('camtool') or (warn "Can't find camtool" and $missing_tools = 1);
    36 my $camera = can_run('camera_exp.pl') or (warn "Can't find camera_exp.pl" and $missing_tools = 1);
     36my $camera_exp = can_run('camera_exp.pl') or (warn "Can't find camera_exp.pl" and $missing_tools = 1);
    3737die "Can't find required tools.\n" if $missing_tools;
    3838
    39 # Phase 3 exposure processing
     39# Camera exposure processing
    4040my $list;
    4141{
     
    4343    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    4444        run( command => $command, verbose => 1 );
    45     die "Unable to get phase 3 exposure list: $error_code\n" if not $success;
     45    die "Unable to get camera exposure list: $error_code\n" if not $success;
    4646    $list = parse_md_list( $mdcParser->parse( join( '', @$stdout_buf ) ) ) or
    47         die "Unable to parse output from chiptool.\n";
     47        die "Unable to parse output from camtool.\n";
    4848}
    4949
     
    5252    my $camera = $item->{camera};
    5353   
    54     my $command = "$camera --exp_tag $exp_tag --camera $camera --dbname $dbname";
     54    my $command = "$camera_exp --exp_tag $exp_tag --camera $camera --dbname $dbname";
    5555    $command .= " --no-op" if defined $no_op;
    5656    $command .= " --no-update" if defined $no_update;
     
    5858    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    5959        run( command => $command, verbose => 1 );
    60     die "Unable to do phase 3 processing on $exp_tag: $error_code\n" if not $success;
     60    die "Unable to do camera processing on $exp_tag: $error_code\n" if not $success;
    6161}
    6262
Note: See TracChangeset for help on using the changeset viewer.