@@ -564,7 +564,8 class Plot(Operation): | |||
|
564 | 564 | ''' |
|
565 | 565 | ''' |
|
566 | 566 | |
|
567 |
i |
|
|
567 | interval = self.data.tm - self.sender_time | |
|
568 | if interval < self.sender_period: | |
|
568 | 569 | return |
|
569 | 570 | |
|
570 | 571 | self.sender_time = self.data.tm |
@@ -572,7 +573,7 class Plot(Operation): | |||
|
572 | 573 | attrs = ['titles', 'zmin', 'zmax'] |
|
573 | 574 | for attr in attrs: |
|
574 | 575 | self.data.meta[attr] = getattr(self, attr) |
|
575 | ||
|
576 | self.data.meta['interval'] = int(interval) | |
|
576 | 577 | retries = 2 |
|
577 | 578 | while True: |
|
578 | 579 | self.socket.send_string(self.data.jsonify(self.plot_name, self.plot_type)) |
General Comments 0
You need to be logged in to leave comments.
Login now