Skip to content
Snippets Groups Projects
Commit cbda3d6c authored by Rolf Bork's avatar Rolf Bork
Browse files

Updated to allow DAQ rates as low as 16Hz. This was done to

support synchronous acquisition of EPICS channels.


git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@3452 6dcd42c9-f523-4c6d-aada-af552506706e
parent 41958c03
No related branches found
No related tags found
No related merge requests found
......@@ -175,9 +175,9 @@ sub processDataRate {
my ($rate) = @_;
my $correctDataRate = -1;
my $dataRateHelp = 256;
my $dataRateHelp = 16;
for (my $i = 0; $i < 9; $i++) {
for (my $i = 0; $i < 13; $i++) {
if ($rate == $dataRateHelp) {
$correctDataRate = $i;
last;
......@@ -312,10 +312,10 @@ print "\nTotal count of \'acquire={0,1,3}\' is $acquireTotal\n";
# Print the counts for each datarate, as well as
# the total datarate (in bytes).
#
$dataRateHelp = 256;
$dataRateHelp = 16;
$totalByteCount = 0;
for ($i = 0; $i < 9; $i++) {
for ($i = 0; $i < 13; $i++) {
$totalBytes = $dataRateHelp * $rateCount[$i];
print "\nCounted $rateCount[$i] entries of datarate=$dataRateHelp \tfor a total of $totalBytes";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment