Fixed typo
Fixed write_waveform unit test to write to DAC using streamID = -1