Aw darn! Mrfibble, now you've ruined the OP's learning opportunity to actually look at how the data results in strange outputs like that.
Seriously it took me 1 second to recognize what was wrong with the data. I've seen this happen with DAC interfaces that had incorrectly defined settings or an incorrectly implemented FW driver.
Christian Chetcuti I was really hoping you would try something like graphing a sine wave in 2's comp as straight binary in excel or something. Then you would easily see what happens to your data.
- - - Updated - - -
Here is a post I made with a waveform in 2's comp that is interpreted as straight binary data. Unfortunately at least when I look at it the formatting is in proportional spaced font instead of fixed. :sad:
https://www.edaboard.com/threads/317824/#post1359382