diff --git a/LoadCSVData.pl b/LoadCSVData.pl index 399091f..b307c5e 100644 --- a/LoadCSVData.pl +++ b/LoadCSVData.pl @@ -178,7 +178,7 @@ sub trxelab { XShift, YShift, ZShift , X, Y, Z, HShift, HShiftDir, HShift_local, speed, speed_local, acceleration, acceleration_local, T_node, water_level, pressure, load_value, AlfaX, AlfaY, calcerr from ElabDataView - where UnitName = '$unit', ToolNameID = '$tool' and updated_at > '$matlab_timestamp' + where UnitName = '$unit' and ToolNameID = '$tool' and updated_at > '$matlab_timestamp' order by ToolNameID DESC, EventDate, EventTime, convert(`NodeNum`, decimal) DESC ) resulting_set into outfile '$fileelab'