# 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 "
| Channel | " append html "Channel n Buffer Occupancy | " append html "
| $i | " append html "" append html "" append html " | " append html "