The Record Table shows columns of data in a table. New records are generally added to the end of the table as a complete row. Data already in the table can be updated by referencing the row number. Cells in the table can contain:

  • numbers,
  • dates, or
  • text.

See the Property Table Visualizer for a table that displays name/value pairs.

Records Table visualizer

The Record Table visualizer can be used to display rows of data.

Sending data to the Record Table Visualizer

Our MegunoLink Arduino Library is the easiest method to send data to the record table visualizer. To use the library:

  1. Install the MegunoLink Arduino Library.
  2. Add #include "MegunoLink.h" to the top of your Arduino sketch.
  3. Create a RecordTable variable.
  4. All methods on the RecordTable variable.

The following methods are implemented for a RecordTable:

  • RecordTable(): constructs a RecordTable variable that will send data to the default channel using the Arduino serial port.
  • RecordTable(Channel): constructs a RecordTable variable that will send data to the channel supplied using the Arduino serial port.
  • RecordTable(Channel, Destination): constructs a RecordTable variable that will send data to the channel and destination supplied.
  • RecordTable(Destination): constructs a RecordTable variable that will send data to the default channel using the destination supplied.
  • AddRow(Values...): add a row of record values to the table.
  • AddRowFromArray(NumberOfValues, ArrayOfValues): add a row of record values from an array to the table.
  • AddRowWithIds(NumberOfIds, ArrayOfIds, Values...): add a row of record values to the table. Values are mapped to columns using the column IDs set in MegunoLink.
  • AddRowFromArrayWithIds(NumberOfIds, ArrayOfIds, NumberOfValues, ArrayOfValues): add a row of record values from an array to the table. Values are mapped to columns using the column ID set in MegunoLink.
  • UpdateRow(RowNumber, Values...): change the values in row RowNumber to the values supplied. The first row is numbered 0.
  • UpdateRowFromArray(RowNumber, NumberOfValues, ArrayOfValues): change the values in row RowNumber to the values in the array.
  • UpdateRowWithIds(RowNumber, NumberOfIds, ArrayOfIds, Values...): change the values in row RowNumber to the values supplied. Values are mapped to columns using the column IDs set in MegunoLink.
  • UpdateRowFromArrayWithIds(RowNumber, NumberOfIds, ArrayOfIds, NumberOfValues, ArrayOfValues): change the values in row RowNumber to the values in the array. Values are mapped to columns using the column ID set in MegunoLink.
  • SetValue(RowNumber, ColumnNumber, Value): set the value in row RowNumber, column ColumnNumber to the value supplied.
  • ClearAllRows(): delete all the data from the table.
  • ClearRow(RowNumber): delete the row RowNumber.

Start typing and press Enter to search