6K Software - Assigning a Variable Value to an Analogue Output
You can use a variable to assign a SIM8-AN-OUT analog output. The syntax is
       {b}ANO.{xx} = (VAR{nn})
where {b} stands for expansion brick number, {xx} stands for the I/O pin on the EVM brick, and {nn} stands for the variable index. Be sure to encase the VAR{nn} in parentheses.