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

SVG Synoptic Display Editor #149

Open
htoraby opened this issue Sep 12, 2024 · 5 comments
Open

SVG Synoptic Display Editor #149

htoraby opened this issue Sep 12, 2024 · 5 comments

Comments

@htoraby
Copy link

htoraby commented Sep 12, 2024

In the SVG Synoptic Display Editor there are Special Codes like !DCRxxx (returns the point description) , is there a way to get the time of last channel connect or dis-connect like this? Or there is a way to get data from realtimeData collection ?

@riclolsen
Copy link
Owner

No, there no direct possibility to obtain any additional info from realtimeData.
This is an important feature that I intend to add eventually. Also management of string, array, date/time, geo and structured object values are a necessity.
Currently the only way is to create an additional tag and update its value using custom scripting, for example by customizing the cs_custom_processor template.

@riclolsen
Copy link
Owner

I have added a GraphQL server that can return data from some collections.
Can be accessed by
http://127.0.0.1/apollo

I will expand the data available and study how to retrieve this data from the SVG.

@htoraby
Copy link
Author

htoraby commented Sep 13, 2024

How it can be access from SVG Synoptic Display Editor, you think? If adding new Special Codes so why added GraphQL server?

@riclolsen
Copy link
Owner

I won't add codes for now. I think it is better indeed to request graphql query directly.
I have put an example in the knh2.svg display.

@htoraby
Copy link
Author

htoraby commented Sep 14, 2024

Yes, I see example, actually it is so complicated task in this level, although it can be usable for some special cases, but I prefer to use Special Codes like !DCRxxx
Anyway, adding the GraphQL is a good feature.

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

2 participants