|
@@ -842,12 +842,24 @@
|
842
|
842
|
log.newAnnotation("End", 1, lc);
|
843
|
843
|
}
|
844
|
844
|
});
|
|
845
|
+ var columnName = function(c) {
|
|
846
|
+ var visibleColumns = 0;
|
|
847
|
+ for(var i = 0; i < channels.length; i++) {
|
|
848
|
+ if(channelVisibility[i]) {
|
|
849
|
+ visibleColumns++;
|
|
850
|
+ }
|
|
851
|
+ if(c == visibleColumns - 1) {
|
|
852
|
+ return columnNames[i];
|
|
853
|
+ }
|
|
854
|
+ }
|
|
855
|
+ return "";
|
|
856
|
+ };
|
845
|
857
|
window.postLoadColumnSetup = function(c) {
|
846
|
858
|
for(var i = 0; i < adapters.length; i++)
|
847
|
859
|
{
|
848
|
860
|
adapters[i].setColumn(c + i + 1);
|
849
|
861
|
zeroemitters[i].setColumn(c + i + 1);
|
850
|
|
- log.setHeaderData(c + i + 1, columnNames[i]);
|
|
862
|
+ log.setHeaderData(c + i + 1, columnName(i));
|
851
|
863
|
}
|
852
|
864
|
log.setHeaderData(c + columnNames.length + 1 - channelSkip, "Note");
|
853
|
865
|
stop.setTemperatureColumn(c + 1);
|