The second requires combining barium chloride with a heated solution of sodium nitrate , causing barium nitrate crystals to separate from the mixture .
It is also used to make barium oxide .