Changeset 12022 for trunk/ippScripts/scripts/ipp_serial_camera.pl
- Timestamp:
- Feb 23, 2007, 3:33:32 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/ipp_serial_camera.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_serial_camera.pl
r12020 r12022 34 34 my $missing_tools; 35 35 my $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);36 my $camera_exp = can_run('camera_exp.pl') or (warn "Can't find camera_exp.pl" and $missing_tools = 1); 37 37 die "Can't find required tools.\n" if $missing_tools; 38 38 39 # Phase 3exposure processing39 # Camera exposure processing 40 40 my $list; 41 41 { … … 43 43 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 44 44 run( command => $command, verbose => 1 ); 45 die "Unable to get phase 3exposure list: $error_code\n" if not $success;45 die "Unable to get camera exposure list: $error_code\n" if not $success; 46 46 $list = parse_md_list( $mdcParser->parse( join( '', @$stdout_buf ) ) ) or 47 die "Unable to parse output from c hiptool.\n";47 die "Unable to parse output from camtool.\n"; 48 48 } 49 49 … … 52 52 my $camera = $item->{camera}; 53 53 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"; 55 55 $command .= " --no-op" if defined $no_op; 56 56 $command .= " --no-update" if defined $no_update; … … 58 58 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 59 59 run( command => $command, verbose => 1 ); 60 die "Unable to do phase 3processing 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; 61 61 } 62 62
Note:
See TracChangeset
for help on using the changeset viewer.
