During testing we noticed we are getting error "-44040: invalid relay index"
Upon further investigation, we noticed that inside our
compressor control loop (in periodic tasks) the WPI_RelaySet.vi is somehow toggling between relay 1, 2, and 3
by itself and also switching between forward, reverse and off relay modes.
I probed the inputs to this subvi
inside the compressor control vi, everything is perfect. RelaySet
should be getting
Relay 1 as the index and
forward as the relay mode, but probing inside RelaySet, even the controls are toggling uncontrollably.
We do use two other relays (solenoids) but they're on totally different controls. I checked and we don't have the same relay set anywhere else in the project.
Anyone know what's going on? This is causing us headaches and lots of frustration

....