From: hadeshyp Date: Mon, 11 Jun 2012 15:56:02 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=68c04f3785bff44e3eb9cbc9175693e723efc7ee;p=daqtools.git *** empty log message *** --- diff --git a/dac_program.pl b/dac_program.pl index aaf8f69..51d2732 100755 --- a/dac_program.pl +++ b/dac_program.pl @@ -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