print "<a href='coral_scanner.log' target='_blank' id='button_log'
><input type='button' value='view log'></a>";
print "<input type='button' value='clear log' id='button_clearlog'>";
+ print "<a href='coral_scanner.pl?sub=scan_to_svg' target='_blank' id='button_svg'
+ ><input type='button' value='svg image'></a>";
print br;
print br;
print "estimated scan duration: ".hms_string($self->scan_ETA());
net_counter => 23,
reset_counter => 24,
dead_time => 25,
- acquisition_time => 26
+ acquisition_time => 26,
+ input_polarity => 27
};
$self->{constants} = {
+sub counts_histogram {
+
+ my $self = shift;
+ my %options = @_;
+
+ my @data = ();
+
+ for my $i (1..32) {
+ $data[$i] = $self->read_register(addr => $i+100);
+ print "$i\t".$data[$i]."\n";
+ }
+ return " ";
+}
+
sub help {
my $self = shift;