02-22-2007 10:09 AM
02-22-2007 10:21 AM - edited 02-22-2007 10:21 AM
I am not entirely clear what you are saying. can you attach some sample code?
Is each row a "waveform datatype" or a plain 1D array? Are they all in different files? Are you growing the 2D array row-by-row? I assume that at program start you know the final size of the 2D array exactly. You should initialize an array of the final size, then replace rows with data as you read them in. If you are growing arrays, you are constantly causing expensive memory reallocations.
Of course you are aware that it does not make much sense to create an intensity graph with 9000 columns if your monitor is only 1000 pixels wide. You can predigest your data aond only send a reasonable subset to the graph.
To display the last 200 shots, you could just use "array subset". You could also use another intensity chart with a history lenght of 200.
Message Edited by altenbach on 02-22-2007 08:22 AM
02-22-2007 11:24 AM
02-22-2007 02:33 PM - edited 02-22-2007 02:33 PM
Message Edited by altenbach on 02-22-2007 12:33 PM