What components are you trying to connect exactly? I assumed you had an external source with HDMI only, and needed to connect it to your soundbar with Optical only. But if you're trying to connect that soundbar to your TV, the Samsung does have an Optical out according to the manufacturer. If that's what you're trying to do, you can just connect your source to the TV via HDMI, and then your TV to the soundbar via the Optical cable. Then you'd just need to go through your TV's settings to enable the Optical out, and possibly mute the built-in speakers.