Hi Guys,
I think we've got to the bottom of it now, thanks for all your advice.
I have changed the buffer size as reported above, I've also downloaded and run LatencyMon which said I should disable WLAN and change the power settings to prevent power throttling. So I tried disabling the wireless network adapter and changed the power setting to High Performance and then ran LatencyMon again. This time it said everything was suitable for processing audio, so I am much encouraged.
Once I've posted this I'm going to try Sonar again with the new setup and if everything is OK I'll put this one to solved.
Thanks again!