Acqiris U5309A User Manual page 73

Acquisition card, 2 or 8 channels, 8-bit, 500 ms/s to 2 gs/s, dc to 500 ghz bandwidth, with real-time processing
Hide thumbs Also See for U5309A:
Table of Contents

Advertisement

7.9   How to perform partial readout?
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, offsetWithinRecord + numPointToRead, numPointToRead,
waveforms);
U5309A User's Manual
73

Advertisement

Table of Contents
loading

Table of Contents