Hi Sayaf,
Watch out when displaying very large waveforms on the front panel. There's no need of sending millions of points to the front panel if they can't be displayed by the monitor anyway. I would suggest you to decimate (reduce the number of points) of the signal that you are displaying on the Graph. On the block diagram, you can still handle the complete waveform and save this to a file, but trying to display all the data might slow down your application significantly.
Use the "Sample Compression" Express VI as a starting point for the decimation. As a guideline, don't show more than one point per pixel on the front panel. This means that a Graph that takes up half of the screen width on a 1024x768 monitor shouldn't be showing more than approximately 500 points of a waveform at a time.
Have fun!
- Philip Courtois, Thinkbot Solutions