Hey,
First off, I wanted to thank you guys for the help.. If I understand what shuoshuo wants to do, which is the same as I wanted to do. Here is how I did it,
1) I create a button (TRUE/FALSE)
2) I added a case structure around the ( Invoked Waveform Graph and the Write the JPEG )
3) Set the case structure to TRUE (already by default)
4) Connected the button to the case sturcture.
Here is a image.