User manual

Table Of Contents
MAUI Oscilloscopes Remote Control and Automation Manual
Persist Interface
Retrieves a 2D array containing hits in each cell of the rectangle selected via the input arguments.
Arguments (optional)
numColumns Long -1 = retrieve all columns
Number of columns to retrieve. Default is -1.
numRows Long -1 = retrieve all rows Number of rows to retrieve. Default is -1.
startColumn Long 0 = first sample Index of the first column to be retrieved. Default is 0.
startRow Long 0 = first row
Index of the first row to be retrieved. Default is 0.
Example
Reads values to use for DataArray arguments from a spreadsheet, then loops through the retrieved array,
saving the data to the spreadsheet.
Const ROWOFFSET = 10
Const COLOFFSET = 7
Dim numColumns As Long
Dim numRows As Long
Dim startColumn As Long
Dim startRow As Long
Dim wform
numColumns = Cells(9, 5) numRows = Cells(10, 5) startColumn = Cells(11, 5) startRow
= Cells(12, 5)
wform = app.SDA.Eye.Out.Result.DataArray(numColumns, numRows, startColumn,
startRow)
For i = 0 To numRows - 1
For j = 0 To numColumns - 1
Cells(i + ROWOFFSET, j + COLOFFSET) = wform(i, j)
Next j
Next i
4-10