04-12-2016 11:34 AM
The documentation for the LabVIEW Statechart "Run Statechart" function states,
"Init? is TRUE if you want to restart the statechart from any initial conditions you provide"
How can a user provide initial conditions to a Statechart? More specifically, how can a user define the initial OUTPUTS and the initial StateData?
04-13-2016 05:08 PM
Hi Southern_Cross,
Since I don't have the Statechart module installed I can't be sure, but I believe that the "initial conditions" would be provided by default values assigned to the Inputs.ctl wired into the VI. If you want to try verifying this, it seems like this would be an easy test to perform.
04-13-2016 05:10 PM
So, no progammatic solution?
04-13-2016 06:15 PM
@Southern_Cross wrote:So, no progammatic solution?
Like Andy said, you can provide the data to the typedef as an input. You could do this programtically and bundle the inputs yourself.