Only call getDACRange once.
Add tb->Flush() after setting a single DAC. This fixes #144