From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-09-2017 12:21 PM
sir,
i am trying to play a .wav file using array method in a case structure but only the default case keeps playing in a loop.
my aim is to play each file once as per the string control.
i have attached VI. please modify it and fix it
thank you
🙂
10-09-2017 12:31 PM
@may97 wrote:
sir,
i am trying to play a .wav file using array method in a case structure but only the default case keeps playing in a loop.
my aim is to play each file once as per the string control.
i have attached VI. please modify it and fix it
thank you
🙂
Hi May,
You do not have any arrays or loops on your diagram. Once you make your string control into an array you can pass them through the border of a for loop one by one.
As for "please modify and fix it", it appears that this is an assignment for a class, so you must do the work and learn. Even if it was not for a class, it would be much better for you to try 10 iterations to arrive at the answer than to just be handed a program that works but you can't explain.
10-09-2017 02:37 PM - edited 10-09-2017 02:38 PM
A few more comments about your code:
10-10-2017 10:34 AM
thanks for your help!!