Hello,
I'm stuggling to get two parallel while loops to talk to each other. I'm writing a VI to control the motion of a thorlabs rotation stage while simultaneously reading in an analog input on a LabJack. I want to trigger an event when the analog input drops below or rises above a threshold voltage. The top loop contains the event structure; the bottom loop is monitoring the LabJack input.
However, I cannot get the my event structure to notice when the threshold is crossed (a value change in 'move next indicator'). I tried using the value (signalling) property node- but this triggers the event with each iteration of the while loop regardless of whether or not there was actually a state change.
Any suggestions? How do I trigger an event based off of a Boolean value change?