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

Return None/NaN if no new data is available #1

Open
dschick opened this issue May 19, 2024 · 0 comments
Open

Return None/NaN if no new data is available #1

dschick opened this issue May 19, 2024 · 0 comments

Comments

@dschick
Copy link
Member

dschick commented May 19, 2024

Hi @tox1c90

Right now this TangoDS always returns the last measured value from the PEM as read-back value of the power.
I think, that this is maybe not the correct way of implementing it.

I would suggest, that the attribute return None or NaN (possibly the first) if no data is available.
This would make it consistent with other powermeters such as the Coherent LabMax or ThorlabsPM100 series.

Is there an easy way of checking the number of new data readings from the API?

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

No branches or pull requests

1 participant