User manual

Table Of Contents
MAUI Oscilloscopes Remote Control and Automation Manual
CellValue
The value for the selected cell in a table. The method for reading back CellValue depends on the cells
CellType property:
CellType = 0 (Variant), CellValue is probably an array with the last sample value plus other results, which
must be indexed in addition to the principal table. See Exposing Table Data.
CellType = 2, CellValue is Parameter result with a discrete value.
CellType = 3, CellValue is a Boolean result.
CellType = 4, CellValue is a histicon.
Applies to: Table
Arguments
Row Long 0 = first row
0-based index of the row containing the cell. Use the Rows
property to determine the maximum number of rows.
Column Long 0 = first column 0-based index of the column containing the cell. Use the
Columns property to determine the maximum number of
columns.
Example
When the CellType = 0, read out the value of a numeric cell by adding (0,0) to the cell index, as in:
Dim CellValue
CellValue = app.SerialDecode.Decode1.Out.Result.CellValue(3,2)(0, 0)
The above would return the value shown in row 3, column, 2 of the Serial Decode table.
Tip: Oscilloscopes that have a serial decoder option installed include the file
D:\Scripts\TableExport.lss, a VBScript for determining the decoder table structure and outputting
the decoded values.
When the CellType = 2, read out the value as follows:
Dim DecoderTableResult As Object
Set DecoderTableResult = app.SerialDecode.Decode1.Out.Result
Dim CellValueOb As Object
Set CellValueOb = DecoderTableResult.CellValue(1, 2)
CellValue = CellValueOb.Value
4-6