8.10 How to perform partial readout?
U5303A User's Manual
93
Example using AqMD3 IVI.NET
Reading Int32 data in two blocks (with NUM_RECORDS =1)
// Fetch the acquired data in array.
long offsetWithinRecord = 0;
long firstRecord = 0;
string channel = "Channel1";
long numRecordsToRead = 1;
long numPointToRead = driver.Acquisition.RecordSize / 2;
// Create waveform collection with the requested number of records and points to fetch
var waveforms = driver.Acquisition.CreateWaveformCollectionInt32(numRecordsToRead,
numPointToRead);
//To first the first numPointToRead data:
waveforms = driver.Channels[channel].MultiRecordMeasurement.FetchMultiRecordWaveform
(firstRecord, numRecordsToRead, offsetWithinRecord, numPointToRead, waveforms);
//To first the last numPointToRead data using the same waveform object:
waveforms = driver.Channels[channel].MultiRecordMeasurement.FetchMultiRecordWaveform
(firstRecord, numRecordsToRead, offsetWithin numPointToRead, numPointToRead,
waveforms);