Created a waveform, but I don't know how to repeat the waveform.

As my VI, I wanna creat a specific waveform for testing. But when the first loop ran out, the looping is stop.
How can I make it continuously operate? It is urgent, Thanks for your help!
and one more question is how can I combine this signal VI to my main VI ?
the signal output connect to the Select Signal 3. But seems it can not communicate between two while loop for passing the data.
Attachments:
signal 1_14_3_6_ver1.vi ‏61 KB
main(2014_3_1).vi ‏476 KB

Hi rednight,
the MainVI stops when you press the Stop2 button. Don't press that button to make it iterate more often…
Your subVI is very convoluted and will get a honorable mention in the RubeGoldberg thread. Maybe even in the "Why locals are bad" thread too…
- Don't abuse local variables: use wires instead! Please clean up your "signal" VI in that fashion.
- Afterwards rethink your logic. Why do you do the same operation 9 times in your VI? Why not use a loop instead?
- To integrate that VI as subVI in your MainVI you should remove it's while loop - or atleast make it run just once per call. Having a separate stop button in a subVI is (most-often) a NO-GO!
Btw. are you in the same team as Adithya working on a very related topic?
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

Maybe you are looking for