Watch the Hammer-ons Play-along #1 online guitar lesson by Ben Lacy from Two-Hand Groove Guitar

Try that Latin bass line along with me.

Remember that the first of each two bass notes is going to ring out and the second stops abruptly. So you get a kind of ring-stop, ring-stop pattern going.