Thank you grdunn123 for your reply.
It definitely says in the Soundbar instruction booklet that you have to connect the HDMI cable to the Soundbar and the other end to the HDMI(arc) socket on the TV.
I haven't got an optical cable so I can't try that. I did look up HDMI for the definition and...