LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with state machine

Hi! I've got a VI intended to control a storage tank. I've tried to do that by creating a simple state machine that changes the value(on/off) of some valves basing on 2 conditions:

-when a certain temperature reaches a pre-set value AND its derivative is <0, the state must change from on to off,

-when some time passes the state must change from off to on.

Unfortunately I can't get this work as it never changes state (e.g if I start with on always remain on "on" and viceversa).

Could you please tell me what I'm doing wrong? I'm attaching the screenshots of the 2 states.

Thanks!

Download All
0 Kudos
Message 1 of 2
(2,223 Views)

duplicate post, continued here!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,209 Views)