]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Mon, 11 Jun 2012 15:56:02 +0000 (15:56 +0000)
committerhadeshyp <hadeshyp>
Mon, 11 Jun 2012 15:56:02 +0000 (15:56 +0000)
dac_program.pl

index aaf8f69cac6b915af38152836830574546ccf84e..51d2732287d92096e3b6c9c92d78c58a945120b7 100755 (executable)
@@ -61,10 +61,10 @@ while (my $a = <$fh>) {
     
     #Write memory address $board  registers 0xd400 - 0xd410 with @values...
     foreach my $i (0..15) {
-      trb_register_write($board,0xd100+$i,$values[$i]);
+      trb_register_write($board,0xd400+$i,$values[$i]);
       }
-    trb_register_write($board,0xd110,16);  #"16" workaround until length of chain is known
+    trb_register_write($board,0xd410,16);  #"16" workaround until length of chain is known
     }
-    usleep(100);
+    usleep(80);
 
   }
\ No newline at end of file