To all LabVIEW experts,
I am in desperate need for explanation on Trigger and Gate Express VI. Attached is an VI that does nothing and means nothing other than experiment with Trigger and Gate Express VI. I have two signals, one is a sine wave and the other is triangle wave. The two are then put into array and fed into a For-loop where it is then fed into Trigger and Gate Express VI. The trigger and Gate Express VI is set to trigger when it sees Falling (5) and rising (-1). My expectation is that the trigger will return a V-shape triangle from the Triangle wave and a U-shape from the Sine wave all the time. But it is not the case. If you let it run long enough, The V-shape will turn into U, and the U will turn into V-shape. It is best to run the VI and it will become clear what I'm talking about.
If I run the Trigger and Gate Express VI independently (without using For-loop), then the result is exactly what I expect. So I think I may have done something wrong in setting up the For loop, but I can't figure out what. Please help, I really need to use the Trigger and Gate inside a For loop. THanks in advance for the help.