Effacer les filtres
Effacer les filtres

How to delete all data of a channel are older than a date using a request.

5 vues (au cours des 30 derniers jours)
Ilias Lamprou
Ilias Lamprou le 26 Jan 2024
When my sensor started sending data to the server, for a few days it sent incorrect values due to incorrect placement.
Now I want to delete this initial data recorded before a certain date.
Is there any way to do this either through the website or using an Http request?
Which is the correct Http request syntax to delete the data before a date or between two dates?

Réponses (1)

Christopher Stapels
Christopher Stapels le 27 Jan 2024
There is not an API command to selctively delete specific points. You can clear all channel data at once with the API and with the web UI. The workaround is to download all the data, delete the points you need and then re upload the cleaned data. Since you can set the range on field plots and custom visualizations, the bad data shouldnt change your viewing of the channel data.
If you choose the re - upload method, you will need to be very careful with timestamps.

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by