Page 1 of 1

siMulation set dac value

Posted: Fri Mar 31, 2017 6:03 pm
by Camille
Hello,
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
other
return programmatically value
Regards

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.

SimDemo.fcfx
(4.91 KiB) Downloaded 125 times


Let me know how you get on.