04-09-2010 06:16 PM
I'm trying to make it so that when certain conditions are true (pointed out with arrow in attached VI) that the subVI in my event structure executes, and that when the conditions are false it will cease excecution. Any advice will be appreciated!
Thanks
04-09-2010 06:50 PM
I guess I'm blind. I don't see any arrows in your vi. If you are wanting the DAQ Assistant to run only when the green boolean wire becomes True, then don't use an event structure. That is not what it is for. Use a case statement and put the code in the True case with nothing in the False case, and wire the green boolean wire to the question mark on the case border. While your loop is running, the True case will only execute if the boolean wire is True. Otherwise it won't execute.
Learn how to clean up your diagram to make it easier to read. Don't hide wires behind other structures. You might know where they go, but to people who are trying to help you, this is a nightmare. We have to clean it up to see what is going on.
04-09-2010 09:27 PM
Student without -a-name,
sure, you have an event structure
Read the help that ships with LabVIEW and post a specific question--
We (I) Love to help people to learn about LabVIEW but,-(pause for effect) - is that "lobster" or "spaghetti" you are bringing for dinner?
What "Certain Conditions?" (e.g. stimulae)
What responses
I learned "I C O" Input Conversion Response
Do they still teach that?
04-13-2010 01:29 AM
Hello,
Like was mentioned before, the best way to do what you are trying to do is to use a Case Structure instead of an Event Structure. I am attaching an example of how this works.