frangoteam / FUXA

Web-based Process Visualization (SCADA/HMI/Dashboard) software
https://frangoteam.org
MIT License
2.84k stars 826 forks source link

[FEATURE] progress bar and cancel trend load #1467

Open mariorl opened 2 weeks ago

mariorl commented 2 weeks ago

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

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 commented 2 weeks ago

@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 commented 1 week ago

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 commented 1 week ago

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

mariorl commented 2 days ago

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 commented 3 hours ago

big-data-chart

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