Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform chart history

Hi,
I´m using a waveform chart, I noted when I interrupt the app before the history buffer was completed full the signal is repeated several times. Does someone know if it works like that or I'm doing anything wrong?
Thanks,
Celia
0 Kudos
Message 1 of 2
(3,171 Views)
Because a chart has a history property, it retains the data written to it whether you fill the buffer or not. If you want the chart to start with no data in the buffer, you have to clear the history before the data acquisition begins. You do this by writing an empty array to the chart's history property. Look at the shipping example called How to Clear Charts & Graphs.
0 Kudos
Message 2 of 2
(3,168 Views)