11-20-2009 04:37 PM
i build up small vi to check value from dll file and i want to play sound as it become 0
so as i press Run continuously the sound repeted and dosn't stop until i abort execution
now how can i force labview to play sound once as i in Run continuously mode
i'm waiting u r help
11-20-2009 04:56 PM
Don't use run continuously...use a 'while loop' with a stop condition...
Search the LabVIEW Help for 'While Loop' for more information.
-B
11-20-2009 11:18 PM
11-20-2009 11:32 PM
11-21-2009 04:40 AM
okay people i think i get your point
but still one question as i build this VI it's gonna to be excute once or continuosly ?????
11-21-2009 08:16 AM
11-21-2009 02:43 PM
well a while loop will run untill you terminate it or it reaches the conditions you set
if you want to run it once and only once than you don't need a while loop, you could also use a while loop with an event structure
11-21-2009 02:53 PM
11-21-2009 04:20 PM
smercurio_fc wrote:
You could also do something as trivial as this:
yea this is gonna to work if i run once but continously it will still repet and repet
11-21-2009 04:22 PM
Harold Timmis wrote:well a while loop will run untill you terminate it or it reaches the conditions you set
if you want to run it once and only once than you don't need a while loop, you could also use a while loop with an event structure
i can't open your VI i use Labview v8.5