I am implementig a code in Visi in which I have different forms connected to each other. The last form should activate a valve through the pins so that when I set the pin HI it opens the valve and when I set it LO it closes the valve repeatedly. The thing I'd like to add is the possibility to make the valve open and close even when I'm in a different form setting the pin HI and LO in a function that runs in background while I can navigate to other forms. I hope I explained myself quite clearly.