Page 1 of 1

siMulation set dac value

Posted: Fri Mar 31, 2017 6:03 pm
by Camille
I'M looking for a way to set the value of a Dac component programmatically for simulation.
Perhaps It's possible to check a flag to know if flowcode is in simulation Mode?
if flag=true return dac
return programmatically value

Re: siMulation set dac value

Posted: Mon Apr 03, 2017 12:57 pm
by Benj
Hello Camille,

Here is a simple way to check if your in simulation mode or not using a hidden property which you manipulate using sim start and sim end event macros.

(4.91 KiB) Downloaded 137 times

Let me know how you get on.