Skip to content

Rename config parameters#96

Open
TanDro wants to merge 1 commit intomasterfrom
wip_names
Open

Rename config parameters#96
TanDro wants to merge 1 commit intomasterfrom
wip_names

Conversation

@TanDro
Copy link
Copy Markdown
Contributor

@TanDro TanDro commented Sep 21, 2020

see #89

…, replace all config names in examples, update docu
Copy link
Copy Markdown
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)

PlotTimeout: 10
InterpolationPoints: 0
MovingWindowSize: 5
MovingWindowEnable: True
Copy link
Copy Markdown
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

Comment thread pywisp/gui.py

self.actHeartbeat = QAction("&Heartbeat Timeout", self)
self.optMenu.addAction(self.actHeartbeat)
self.actHeartbeat.triggered.connect(self.setHeartbeat)
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread pywisp/gui.py

self._settings.endGroup()

def setHeartbeat(self):
Copy link
Copy Markdown
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