# This is the Channel n Buffer Bufs register 0x1n94 read only) for {set i 0} {$i < $NumChans} {incr i} { variable Ch$i.Bufs 0 } proc GetBufs {} { variable NumChans for {set i 0} {$i < $NumChans} {incr i} { variable Ch$i.Bufs set Ch$i.Bufs [ReadRegister Ch$i.Bufs] } } proc DrawBufs {} { variable Name set html "" append html "

" append html "" append html "" append html "" append html "" append html "" for {set i 0} {$i < 16} {incr i} { append html "" append html "" append html "" append html "" } append html "
ChannelChannel n Buffer Occupancy
$i" append html "" append html "
" append html "

" return $html }