Use a Chart and specify a suitable chart history length to it
To set chart history length, right click on chart>>in drop down menu, select chart history length and type required number of points( if sampling rate is 1000 and you want to display 20 seconds of data, enter 20000)