08-09-2007 05:31 AM
08-09-2007 08:46 AM
08-09-2007 09:52 AM
08-09-2007 02:38 PM - edited 08-09-2007 02:38 PM
No need for a global variable and a global by itself would not work anyway. You just have to understand data flow. Your code that checks the value of the numeric only runs once. At the same time that this code runs, the subVI starts and changes the value of the numeric but the comparison is already done and will not repeat until you stop the VI and run it again. If you put a while loop around the comparison code, your alarm indicator will be updated as soon as the subVI executes.
Message Edited by Dennis Knutson on 08-09-2007 01:39 PM
08-10-2007 06:52 AM
Thank you all for your replies
@davidpcl : The VI´s you gave to me could help me a lot. But by using these vi´s one other problem was generated.
I want to open thes SubVi several times by the MainVi. The problem ist the correct parameterization of especially the stop-button. With the parameterization you gave me I could not use it several times in the MainVi.
Can somebody give me a help?
I attached the two new fiels.
08-10-2007 07:31 AM