RecordTable operations

Support forum for MegunoLink
Post Reply
User avatar
SolarPhysics
Posts: 1
Joined: Wed Apr 24, 2019 7:23 pm

Thu Feb 06, 2020 4:42 pm

I am a big fan of the MegunoLink constellation and have made several successful programs.
I've made good use of the Table, among other features.
My project could really use the features of the Record Table, multiple entries across the row.
I have tried to create a variable: long RecordTable(); but
in trying to provide a function, like the way it works with 'Table' as in:

void SendDataToTable() {
InterfacePanel MyPanel;
Table RecordTable;
RecordTable ccRecordTable1;
// Add a row to the RecordTable
ccRecordTable1.AddRow(site, Data, "mV");
}
won't compile.

It appears that RecordTable behaves differently than the more basic Table function.

Can you provide an example of how to use RecordTable?

Thanks so much.
Drew
“The whirlwinds of revolt will continue to shake the foundations of our nation until the bright day of justice emerges.” —Martin Luther King Jr.
philr
Posts: 314
Joined: Mon May 26, 2014 10:58 am

Mon Feb 17, 2020 7:31 pm

Hi, yep its basically a completely separate visualiser. You can find a basic example in the latest version of our megunolink library.
https://github.com/Megunolink/MLP/blob/ ... dTable.ino

Its undocumented currently as we haven't had time yet. This file shows all the functions it supports.
https://github.com/Megunolink/MLP/blob/ ... dTable.cpp

Cheers
Phil
Post Reply