12-06-2012 10:38 AM
I am using labview visa to control 4 different device in one software, actually I can control 3 of them, but to control my laser device it does not work, I think I f I can run my laser codes outside of while loop it will solve problem. Can I put some codes outside of while loop, I mean some codes have to run continuously till I push stop, but in laser it cause problem and I want to run laser in same software but not continuously, when I need the change wavelength I want to change in one time after that laser section should stop and the others have to run. I mean, in labview visa, I want to run some part in while loop some part I don't want is that possible and I I am doing that can I change anything in outside of while loop part when program run. I hope I am clear if not just tell me which part I am not clear.
12-06-2012 10:45 AM
I would receommend using a state machine. You may also use multople parallel loops each controlling a different device if the devices will be independent of each other. I would look at tehe examples for state machines or search the forums. There is lots of information regarding them.