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

Add a :LAYOUT read/write table #125

Open
coretl opened this issue Jun 19, 2024 · 0 comments
Open

Add a :LAYOUT read/write table #125

coretl opened this issue Jun 19, 2024 · 0 comments
Assignees

Comments

@coretl
Copy link
Contributor

coretl commented Jun 19, 2024

After DiamondLightSource/pymalcolm#390 then *METADATA.LAYOUT will contain JSON like {"COUNTER1": {"x": 1.2, "y": 2.3}, "TTLIN1": {"x": 0.0, "y": 5.6}

This should be read into an NTTable with PV :LAYOUT, looking like:

Block x y
COUNTER1 1.2 2.3
TTLIN1 0.0 5.6

This should accept puts that will JSON encode the contents and write it down to *METADATA.LAYOUT

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

No branches or pull requests

2 participants