To pass OML data to your diagram, leave the OML window active in the Embed work space and reference any of your OML variables in const blocks.