updates from lab pc during ecoc sprint
This commit is contained in:
17
test/database_mysql_test.m
Normal file
17
test/database_mysql_test.m
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
db = DBHandler("type","mysql");
|
||||
|
||||
db.tableNames
|
||||
currentTime = datetime('now', 'Format', 'yyyyMMdd_HHmmss');
|
||||
newRun = db.tables.Runs;
|
||||
newRun.run_id = NaN;
|
||||
newRun.loop_id = 82;
|
||||
newRun.date_of_run = datetime(currentTime, 'InputFormat', 'yyyyMMdd_HHmmss');
|
||||
newRun.tx_bits_path = 'pathtohell';
|
||||
newRun.tx_symbols_path = 'pathtohell2';
|
||||
newRun.rx_sync_path = ""; % Leave empty for now
|
||||
newRun.rx_raw_path = 'pathtohell4';
|
||||
newRun.filename = 'filenametohell';
|
||||
newRun.tx_signal_path = 'pathtohell';
|
||||
|
||||
run_id = db.appendToTable('Runs', newRun);
|
||||
Reference in New Issue
Block a user