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

[FEATURE] progress bar and cancel trend load #1467

Open
mariorl opened this issue Oct 30, 2024 · 5 comments
Open

[FEATURE] progress bar and cancel trend load #1467

mariorl opened this issue Oct 30, 2024 · 5 comments
Labels

Comments

@mariorl
Copy link

mariorl commented Oct 30, 2024

Describe the feature
If you sample fast, daq files become too huge, and need minutes for loading on front end, and eventually will not load at all.

Describe the solution you'd like

  • Progress bar with cancel: if the query is too big you'll see it on the progress bar (will grow very slow) and cancel trend rendering if needed.
  • A way for select a very concise querý, for example 1 single hour, will imply a quite smaller dataset. May be there's already a way for do this from scripting, but its not clear how to do it.

Additional context
I'm using a modbus multimeter to measure and save grid supply quality, every 200ms, since I need to catch millisecond grid drops, and it works, but later Daq the files become too big.

kind regars

@MatthewReed303
Copy link
Collaborator

@mariorl I agree and a progress bar of loading data would help. I have noticed it will also crash the browser session sometimes also. Another possibility is use the new triggers and set a range and log only the ranges you need ignoring the rest. You can also do this on the PLC with a simple FIFO buffer so you don't miss any important and push to Fuxa every 10sec on change etc

@mariorl
Copy link
Author

mariorl commented Nov 4, 2024

The instrument I sampling is not a PLC, so can't do FIFO or so to reduce the traffic. What you mean with "new triggers"?

@unocelli
Copy link
Member

unocelli commented Nov 6, 2024

Hi, I just added the feature chunk DAQ history result, can you give me feedback?

@unocelli unocelli added the solved label Nov 6, 2024
@mariorl
Copy link
Author

mariorl commented Nov 11, 2024

Hi, I cant see where "chunk DAQ history result" is implented, if you mean $getHistoricalTags, I just used this function in order to create filtered daq fiels for a trend preview, and works fine. Also I noticed the /templates pane on the scripts interface is now empty.

kind regards, Mario.

@unocelli
Copy link
Member

big-data-chart

templates on the scripts are only for client functions, this is the reason why for server script is empty

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

No branches or pull requests

3 participants