Browse Source

Fix profile translation when loading from batch log

Neal Wilson 6 years ago
parent
commit
59e0bb17d4
Signed by: neal <neal@typica.us> GPG Key ID: D6F25C90DD5819DF
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      config/Windows/batchdetailsnew.xml
  2. 1
    0
      config/Windows/productionroaster.xml

+ 1
- 0
config/Windows/batchdetailsnew.xml View File

177
                 input.newAnnotationColumn.connect(log.setHeaderData);
177
                 input.newAnnotationColumn.connect(log.setHeaderData);
178
                 input.measure.connect(graph.newMeasurement);
178
                 input.measure.connect(graph.newMeasurement);
179
                 input.measure.connect(log.newMeasurement);
179
                 input.measure.connect(log.newMeasurement);
180
+				var targetDetector = Windows.loggingWindow.targetDetector;
180
                 input.measure.connect(function(data, series) {
181
                 input.measure.connect(function(data, series) {
181
                     if(series == targetseries) {
182
                     if(series == targetseries) {
182
                         targetDetector.newMeasurement(data);
183
                         targetDetector.newMeasurement(data);

+ 1
- 0
config/Windows/productionroaster.xml View File

56
 		translationdelay.interval = 0;
56
 		translationdelay.interval = 0;
57
 		translationdelay.singleShot = true;
57
 		translationdelay.singleShot = true;
58
         var targetDetector = new ThresholdDetector;
58
         var targetDetector = new ThresholdDetector;
59
+		window.targetDetector = targetDetector;
59
         window.targetcolumnname = "";
60
         window.targetcolumnname = "";
60
         var currentDetector = new ThresholdDetector;
61
         var currentDetector = new ThresholdDetector;
61
         var translationChannel = -1;
62
         var translationChannel = -1;

Loading…
Cancel
Save