Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename config parameters #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Rename config parameters #96

wants to merge 1 commit into from

Conversation

TanDro
Copy link
Contributor

@TanDro TanDro commented Sep 21, 2020

see #89

…, replace all config names in examples, update docu
Copy link
Contributor

@jhalmen jhalmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't test, but looks good.

i think making the heartbeat runtime configurable is debatable.
if we do this, it might be good to also make the heartbeat configurable on the rigs themselves (maybe we can send the timeout value in the rig start byte? pretty sure this would be possible - we just never thought about it before)

@@ -15,7 +15,7 @@
Value4: 1

Config:
TimerTime: 10
PlotTimeout: 10
InterpolationPoints: 0
MovingWindowSize: 5
MovingWindowEnable: True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the line below this needs to be changed to
HeartbeatTimeout: 100


self.actHeartbeat = QAction("&Heartbeat Timeout", self)
self.optMenu.addAction(self.actHeartbeat)
self.actHeartbeat.triggered.connect(self.setHeartbeat)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure the heartbeat should be runtime configurable by user

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, I'm with you. Let us implement a self configuration routine. The question is, should we use a pre-hook before experiment start, or do it with first start as response to start flag on id1? I'm not sure, which makes more sense. Okay then the heatbeat is not configurable by user.


self._settings.endGroup()

def setHeartbeat(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see previous comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants