JKISoftware / JKI-State-Machine-Objects

Object-oriented framework for LabVIEW based on the JKI State Machine
BSD 3-Clause "New" or "Revised" License
95 stars 54 forks source link

Process Registration issue with parent requirement to run #42

Closed francois-normandin closed 6 years ago

francois-normandin commented 6 years ago

It's been reported that restarting a process when the core process is set to not force itself to run would cause the process not to run the second time around. The issue is that the flag "Allow Parent to Run" is not reset after a process terminates, if it is not destroyed.

Given this process configuration: image

With this type of sequence calls: image

The process would not run on the 2nd iteration.

The fix is to reset the flag in the SMO:Process.vi after the process terminates (synch'ed): image

francois-normandin commented 6 years ago

fixed for 1.3.0